diff options
| author | David Howells <dhowells@redhat.com> | 2013-09-24 05:35:18 -0400 |
|---|---|---|
| committer | David Howells <dhowells@redhat.com> | 2013-09-24 05:35:18 -0400 |
| commit | ab3c3587f8cda9083209a61dbe3a4407d3cada10 (patch) | |
| tree | c479efb4b7a834ee5d3b74d81560a2214c463431 /include/linux | |
| parent | b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 (diff) | |
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/key.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/key.h b/include/linux/key.h index 2417f789d29b..010dbb618aca 100644 --- a/include/linux/key.h +++ b/include/linux/key.h | |||
| @@ -201,6 +201,7 @@ struct key { | |||
| 201 | unsigned long value; | 201 | unsigned long value; |
| 202 | void __rcu *rcudata; | 202 | void __rcu *rcudata; |
| 203 | void *data; | 203 | void *data; |
| 204 | void *data2[2]; | ||
| 204 | } payload; | 205 | } payload; |
| 205 | struct assoc_array keys; | 206 | struct assoc_array keys; |
| 206 | }; | 207 | }; |
