KEYS: Implement a big key type that can save to tmpfs
Implement a big key type that can save its contents to tmpfs and thus swapspace when memory is tight. This is useful for Kerberos ticket caches. Signed-off-by: David Howells <dhowells@redhat.com> Tested-by: Simo Sorce <simo@redhat.com>
This commit is contained in:
parent
b2a4df200d
commit
ab3c3587f8
5 changed files with 242 additions and 0 deletions
|
@ -201,6 +201,7 @@ struct key {
|
|||
unsigned long value;
|
||||
void __rcu *rcudata;
|
||||
void *data;
|
||||
void *data2[2];
|
||||
} payload;
|
||||
struct assoc_array keys;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue