]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE14-linux26-avoid-memory-zone-fun-20050113
authorChas Williams <chas@cmf.nrl.navy.mil>
Mon, 31 Jan 2005 04:09:57 +0000 (04:09 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 31 Jan 2005 04:09:57 +0000 (04:09 +0000)
commit488be9122c1741872300a2a7bc99c8264686c8d9
tree3727fd01870a8df25a0d043822e1ecad98113f40
parent726b9f6de490ef938525cd35971e2572feb3b14f
STABLE14-linux26-avoid-memory-zone-fun-20050113

FIXES 16965

"  the wake_up_bit() mechanism has replaced
'per object' wait queues (atleast when testing for single bit changes).
the actual wait queue to use is determined using a hash on page->flags
(which encodes the zone table in the lower 8 bits).  afs inodes come from
a vmalloc() since afs gets all the inodes in one go.  vmalloc()'d memory
apparently doesnt get mapped to any particular zone.  so when an afs
inode uses wake_up_bit() they index off the end of the zone_page table.
"

(cherry picked from commit 543d4464d8afe11e74b239abb5da20b0269259b3)
src/afs/afs_vcache.c