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
Kconfig -rw-r--r-- 218 bytes
Makefile -rw-r--r-- 118 bytes
caleb.c -rw-r--r-- 3.1 KB
caleb.h -rw-r--r-- 636 bytes
enp2611.c -rw-r--r-- 6.5 KB
ixp2400-msf.c -rw-r--r-- 5.3 KB
ixp2400-msf.h -rw-r--r-- 4.5 KB
ixp2400_rx.uc -rw-r--r-- 8.5 KB
ixp2400_rx.ucode -rw-r--r-- 3.9 KB
ixp2400_tx.uc -rw-r--r-- 5.9 KB
ixp2400_tx.ucode -rw-r--r-- 2.9 KB
ixpdev.c -rw-r--r-- 9.9 KB
ixpdev.h -rw-r--r-- 711 bytes
ixpdev_priv.h -rw-r--r-- 1.8 KB
pm3386.c -rw-r--r-- 8.1 KB
pm3386.h -rw-r--r-- 919 bytes

back to top