]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE12-linux-more-osi-sleep-wakeup-fun-20020624
authorChas Williams <chas@cmf.nrl.navy.mil>
Wed, 10 Jul 2002 21:05:03 +0000 (21:05 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 10 Jul 2002 21:05:03 +0000 (21:05 +0000)
commit8f5a2df730f959e41c7f538a7412c686f4c7c946
tree4a3676e213aab4fad434bf6bbc7bacf326041c4f
parent6cd9a611a1ce438b2e1f2f7f89edc3107bdde007
STABLE12-linux-more-osi-sleep-wakeup-fun-20020624

"the attached patch 'fixes', in my opinion, in osi_alloc.  objects <=
AFS_SMALLOCSIZ are alloced with kmalloc, other vmalloc.  if kmalloc
fails it doesnt fail over to vmalloc.  TASK_RUNNING is set after
schedule.  it doesnt drop the GLOCK.  i moved the allocator init
later so that it doesnt need to toggle the semaphore just before
going to linux_alloc."

(cherry picked from commit fe1648ca02137cac306d5f5002d8f79b580694ba)
src/afs/LINUX/osi_alloc.c