commit | 724bdca9b8449d9ee5f779dc27ee3d906a04508c | [log] [tgz] |
---|---|---|
author | Sunil Mushran <sunil.mushran@oracle.com> | Mon Mar 10 15:16:20 2008 -0700 |
committer | Mark Fasheh <mfasheh@suse.com> | Fri Apr 18 08:56:08 2008 -0700 |
tree | c12d1028d862a58ce7a01024ba9b1f04ab157e3b | |
parent | 12eb0035d6f0466038ef2c6e5f6f9296b9b74d91 [diff] |
ocfs2/dlm: Create slabcaches for lock and lockres This patch makes the o2dlm allocate memory for lockres, lockname and lock structures from slabcaches rather than kmalloc. This allows us to not only make these allocs more efficient but also allows us to track the memory being consumed by these structures. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>