Revision 0f04ab5efbca73ab366a156d96b073d2da35b158 authored by KAMEZAWA Hiroyuki on 05 August 2006, 19:14:59 UTC, committed by Linus Torvalds on 06 August 2006, 15:57:48 UTC
find_next_system_ram() returns valid memory range which meets requested area,
only used by memory-hot-add.

This function always rewrite requested resource even if returned area is not
fully fit in requested one.  And sometimes the returnd resource is larger than
requested area.  This annoyes the caller.  This patch changes the returned
value to fit in requested area.

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Keith Mannthey <kmannth@gmail.com>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 6f71271
History
File Mode Size
CHANGES -rw-r--r-- 2.3 KB
ChangeLog -rw-r--r-- 3.7 KB
INTRO -rw-r--r-- 7.0 KB
Makefile -rw-r--r-- 195 bytes
balloc.c -rw-r--r-- 5.6 KB
dir.c -rw-r--r-- 8.9 KB
file.c -rw-r--r-- 1.1 KB
ialloc.c -rw-r--r-- 5.8 KB
inode.c -rw-r--r-- 9.2 KB
itree.c -rw-r--r-- 11.1 KB
namei.c -rw-r--r-- 6.2 KB
super.c -rw-r--r-- 14.8 KB
symlink.c -rw-r--r-- 481 bytes
sysv.h -rw-r--r-- 7.7 KB

back to top