Thread (12 messages) 12 messages, 3 authors, 2020-03-13

Re: [PATCH v2 2/2] KEYS: Avoid false positive ENOMEM error on key read

From: David Howells <dhowells@redhat.com>
Date: 2020-03-09 16:32:36
Also in: keyrings, linux-integrity, lkml

Waiman Long [off-list ref] wrote:
+			tmpbuf = kmalloc(tbuflen, GFP_KERNEL);
This would probably be better off using kvmalloc() - otherwise big objects
have to be constructed from runs of contiguous pages.  But since all we're
doing is buffering for userspace, we don't care about that.

If you agree, we can address it with an additional patch.

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help