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
Makefile -rw-r--r-- 357 bytes
cache.h -rw-r--r-- 681 bytes
callback.c -rw-r--r-- 4.1 KB
cell.c -rw-r--r-- 13.1 KB
cell.h -rw-r--r-- 2.5 KB
cmservice.c -rw-r--r-- 14.5 KB
cmservice.h -rw-r--r-- 943 bytes
dir.c -rw-r--r-- 16.5 KB
errors.h -rw-r--r-- 1.2 KB
file.c -rw-r--r-- 6.4 KB
fsclient.c -rw-r--r-- 20.8 KB
fsclient.h -rw-r--r-- 1.7 KB
inode.c -rw-r--r-- 6.8 KB
internal.h -rw-r--r-- 3.5 KB
kafsasyncd.c -rw-r--r-- 6.1 KB
kafsasyncd.h -rw-r--r-- 1.5 KB
kafstimod.c -rw-r--r-- 4.6 KB
kafstimod.h -rw-r--r-- 1.3 KB
main.c -rw-r--r-- 7.5 KB
misc.c -rw-r--r-- 1.1 KB
mntpt.c -rw-r--r-- 7.0 KB
mount.h -rw-r--r-- 796 bytes
proc.c -rw-r--r-- 21.3 KB
server.c -rw-r--r-- 11.9 KB
server.h -rw-r--r-- 3.4 KB
super.c -rw-r--r-- 10.1 KB
super.h -rw-r--r-- 1.1 KB
transport.h -rw-r--r-- 649 bytes
types.h -rw-r--r-- 3.4 KB
vlclient.c -rw-r--r-- 17.1 KB
vlclient.h -rw-r--r-- 3.9 KB
vlocation.c -rw-r--r-- 24.6 KB
vnode.c -rw-r--r-- 9.8 KB
vnode.h -rw-r--r-- 2.9 KB
volume.c -rw-r--r-- 12.4 KB
volume.h -rw-r--r-- 4.9 KB

back to top