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
aoe
paride
DAC960.c -rw-r--r-- 260.0 KB
DAC960.h -rw-r--r-- 149.3 KB
Kconfig -rw-r--r-- 17.0 KB
Makefile -rw-r--r-- 1004 bytes
acsi.c -rw-r--r-- 44.8 KB
acsi_slm.c -rw-r--r-- 26.1 KB
amiflop.c -rw-r--r-- 46.3 KB
ataflop.c -rw-r--r-- 51.2 KB
cciss.c -rw-r--r-- 97.3 KB
cciss.h -rw-r--r-- 6.8 KB
cciss_cmd.h -rw-r--r-- 7.2 KB
cciss_scsi.c -rw-r--r-- 43.8 KB
cciss_scsi.h -rw-r--r-- 2.9 KB
cpqarray.c -rw-r--r-- 48.6 KB
cpqarray.h -rw-r--r-- 3.0 KB
cryptoloop.c -rw-r--r-- 6.5 KB
floppy.c -rw-r--r-- 119.1 KB
ida_cmd.h -rw-r--r-- 6.8 KB
ida_ioctl.h -rw-r--r-- 2.6 KB
loop.c -rw-r--r-- 32.7 KB
nbd.c -rw-r--r-- 19.2 KB
pktcdvd.c -rw-r--r-- 64.9 KB
ps2esdi.c -rw-r--r-- 29.8 KB
rd.c -rw-r--r-- 14.1 KB
smart1,2.h -rw-r--r-- 7.1 KB
swim3.c -rw-r--r-- 29.2 KB
swim_iop.c -rw-r--r-- 13.6 KB
sx8.c -rw-r--r-- 40.0 KB
ub.c -rw-r--r-- 63.2 KB
umem.c -rw-r--r-- 35.3 KB
viodasd.c -rw-r--r-- 21.6 KB
xd.c -rw-r--r-- 33.7 KB
xd.h -rw-r--r-- 5.7 KB
z2ram.c -rw-r--r-- 9.2 KB

back to top