lkml.org 
[lkml]   [2009]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 4/21] mm: refund memory for a locked buffer
On 03/31, Markus Metzger wrote:
>
> -void release_locked_buffer(void *buffer, size_t size)
> +void refund_locked_buffer_memory(struct mm_struct *mm, size_t size)

Hmm. Again, this is not bisect friendly, afaoics the kernel can't be
compiled with this patch. Irenames release_locked_buffer(), but we still
have callers (fixed by the next patches).

> void free_locked_buffer(void *buffer, size_t size)
> {
> - release_locked_buffer(buffer, size);
> -
> + refund_locked_buffer_memory(current->mm, size);
> kfree(buffer);
> }

And this one has no callers after the next patches?

Oleg.



\
 
 \ /
  Last update: 2009-04-01 02:29    [from the cache]
©2003-2011 Jasper Spaans