lkml.org 
[lkml]   [2013]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/2] (Was: perf_event_mmap(vma) && !vma->vm_mm)
On Wed, Oct 16, 2013 at 10:43:48PM +0200, Oleg Nesterov wrote:
> Peter, just in case. I understand that this all is minor. Just I am
> confused. And in any case I do think we do not need __GFP_ZERO when
> it comes to PAGE_SIZE allocation.

Yeah; we could probably avoid it; if only the strcpy functions would
return how many bytes they copied :/ Then we could create a nice little
helper to \0 the tail end for alignment.

Anyway, as long as the resulting code is obvious and makes it hard to
leak something I'm fine.


\
 
 \ /
  Last update: 2013-10-16 23:21    [W:0.079 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site