Staging
v0.8.1
https://github.com/torvalds/linux
Revision 36be57ffe39e03aab9fbe857f70c7a6a15bd9e08 authored by Paul Jackson on 20 May 2006, 22:00:10 UTC, committed by Linus Torvalds on 21 May 2006, 19:59:18 UTC
Update the kernel/cpuset.c:cpuset_zone_allowed() comment.

The rule for when mm/page_alloc.c should call cpuset_zone_allowed()
was intended to be:

  Don't call cpuset_zone_allowed() if you can't sleep, unless you
  pass in the __GFP_HARDWALL flag set in gfp_flag, which disables
  the code that might scan up ancestor cpusets and sleep.

The explanation of this rule in the comment above cpuset_zone_allowed() was
stale, as a result of a restructuring of some __alloc_pages() code in
November 2005.

Rewrite that comment ...

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent bdd804f
History
Tip revision: 36be57ffe39e03aab9fbe857f70c7a6a15bd9e08 authored by Paul Jackson on 20 May 2006, 22:00:10 UTC
[PATCH] cpuset: update cpuset_zones_allowed comment
Tip revision: 36be57f
File Mode Size
LICENCE -rw-r--r-- 1.5 KB
Makefile -rw-r--r-- 609 bytes
README.Locking -rw-r--r-- 6.3 KB
TODO -rw-r--r-- 2.1 KB
background.c -rw-r--r-- 3.7 KB
build.c -rw-r--r-- 10.1 KB
compr.c -rw-r--r-- 16.8 KB
compr.h -rw-r--r-- 3.5 KB
compr_rtime.c -rw-r--r-- 2.9 KB
compr_rubin.c -rw-r--r-- 7.5 KB
compr_rubin.h -rw-r--r-- 520 bytes
compr_zlib.c -rw-r--r-- 5.8 KB
comprtest.c -rw-r--r-- 25.9 KB
debug.c -rw-r--r-- 21.5 KB
debug.h -rw-r--r-- 8.0 KB
dir.c -rw-r--r-- 21.5 KB
erase.c -rw-r--r-- 13.2 KB
file.c -rw-r--r-- 8.2 KB
fs.c -rw-r--r-- 18.2 KB
gc.c -rw-r--r-- 42.6 KB
histo.h -rw-r--r-- 169 bytes
histo_mips.h -rw-r--r-- 105 bytes
ioctl.c -rw-r--r-- 555 bytes
malloc.c -rw-r--r-- 4.9 KB
nodelist.c -rw-r--r-- 29.4 KB
nodelist.h -rw-r--r-- 15.5 KB
nodemgmt.c -rw-r--r-- 26.8 KB
os-linux.h -rw-r--r-- 7.8 KB
pushpull.h -rw-r--r-- 1.3 KB
read.c -rw-r--r-- 6.8 KB
readinode.c -rw-r--r-- 28.7 KB
scan.c -rw-r--r-- 29.3 KB
summary.c -rw-r--r-- 18.7 KB
summary.h -rw-r--r-- 5.5 KB
super.c -rw-r--r-- 9.5 KB
symlink.c -rw-r--r-- 1.8 KB
wbuf.c -rw-r--r-- 36.2 KB
write.c -rw-r--r-- 21.0 KB
writev.c -rw-r--r-- 1.8 KB

README.Locking

back to top