]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Linux CM: Use kernel allocator directly
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 17 Apr 2011 22:43:51 +0000 (23:43 +0100)
committerStephan Wiesand <stephan.wiesand@desy.de>
Mon, 31 Aug 2015 19:23:14 +0000 (15:23 -0400)
commit602130f1de65eefeb4e31e114070d544eb9edd40
treeaa8cbc614e66c3114d59e5d966587b68a81244e6
parentd6b622833d0a5d679a8ed3f37b7e661d51a19188
Linux CM: Use kernel allocator directly

In another few locations within the Linux portion of the cache
manager, directly use the kernel allocator. We can do so here
because we can guarantee that the amount of memory being allocated
is less than the page size, and there is a kfree() in all of the
exit paths, so we don't need the magic freeing behaviour, either.

Reviewed-on: http://gerrit.openafs.org/4752
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 7a70c2907b0435653098a611a140fea1ac0b2fac)

Change-Id: I72fd6a2109022af5e14d90ce147705da7ccec587
Reviewed-on: http://gerrit.openafs.org/11933
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams <3chas3@gmail.com>
Reviewed-by: Perry Ruiter <pruiter@sinenomine.net>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/LINUX/osi_vfsops.c
src/afs/LINUX/osi_vnodeops.c