Searched hist:"3881 ac04ebf94268ba3d6e486aa524fd41f893a9" (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/fs/dlm/ |
H A D | memory.h | diff 3881ac04ebf94268ba3d6e486aa524fd41f893a9 Thu Jul 07 14:05:03 CDT 2011 David Teigland <teigland@redhat.com> dlm: improve rsb searches
By pre-allocating rsb structs before searching the hash table, they can be inserted immediately. This avoids always having to repeat the search when adding the struct to hash list.
This also adds space to the rsb struct for a max resource name, so an rsb allocation can be used by any request. The constant size also allows us to finally use a slab for the rsb structs.
Signed-off-by: David Teigland <teigland@redhat.com>
|
H A D | memory.c | diff 3881ac04ebf94268ba3d6e486aa524fd41f893a9 Thu Jul 07 14:05:03 CDT 2011 David Teigland <teigland@redhat.com> dlm: improve rsb searches
By pre-allocating rsb structs before searching the hash table, they can be inserted immediately. This avoids always having to repeat the search when adding the struct to hash list.
This also adds space to the rsb struct for a max resource name, so an rsb allocation can be used by any request. The constant size also allows us to finally use a slab for the rsb structs.
Signed-off-by: David Teigland <teigland@redhat.com>
|
H A D | config.h | diff 3881ac04ebf94268ba3d6e486aa524fd41f893a9 Thu Jul 07 14:05:03 CDT 2011 David Teigland <teigland@redhat.com> dlm: improve rsb searches
By pre-allocating rsb structs before searching the hash table, they can be inserted immediately. This avoids always having to repeat the search when adding the struct to hash list.
This also adds space to the rsb struct for a max resource name, so an rsb allocation can be used by any request. The constant size also allows us to finally use a slab for the rsb structs.
Signed-off-by: David Teigland <teigland@redhat.com>
|
H A D | dlm_internal.h | diff 3881ac04ebf94268ba3d6e486aa524fd41f893a9 Thu Jul 07 14:05:03 CDT 2011 David Teigland <teigland@redhat.com> dlm: improve rsb searches
By pre-allocating rsb structs before searching the hash table, they can be inserted immediately. This avoids always having to repeat the search when adding the struct to hash list.
This also adds space to the rsb struct for a max resource name, so an rsb allocation can be used by any request. The constant size also allows us to finally use a slab for the rsb structs.
Signed-off-by: David Teigland <teigland@redhat.com>
|
H A D | config.c | diff 3881ac04ebf94268ba3d6e486aa524fd41f893a9 Thu Jul 07 14:05:03 CDT 2011 David Teigland <teigland@redhat.com> dlm: improve rsb searches
By pre-allocating rsb structs before searching the hash table, they can be inserted immediately. This avoids always having to repeat the search when adding the struct to hash list.
This also adds space to the rsb struct for a max resource name, so an rsb allocation can be used by any request. The constant size also allows us to finally use a slab for the rsb structs.
Signed-off-by: David Teigland <teigland@redhat.com>
|
H A D | lockspace.c | diff 3881ac04ebf94268ba3d6e486aa524fd41f893a9 Thu Jul 07 14:05:03 CDT 2011 David Teigland <teigland@redhat.com> dlm: improve rsb searches
By pre-allocating rsb structs before searching the hash table, they can be inserted immediately. This avoids always having to repeat the search when adding the struct to hash list.
This also adds space to the rsb struct for a max resource name, so an rsb allocation can be used by any request. The constant size also allows us to finally use a slab for the rsb structs.
Signed-off-by: David Teigland <teigland@redhat.com>
|
H A D | lock.c | diff 3881ac04ebf94268ba3d6e486aa524fd41f893a9 Thu Jul 07 14:05:03 CDT 2011 David Teigland <teigland@redhat.com> dlm: improve rsb searches
By pre-allocating rsb structs before searching the hash table, they can be inserted immediately. This avoids always having to repeat the search when adding the struct to hash list.
This also adds space to the rsb struct for a max resource name, so an rsb allocation can be used by any request. The constant size also allows us to finally use a slab for the rsb structs.
Signed-off-by: David Teigland <teigland@redhat.com>
|