lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070514001632.60421680.akpm@linux-foundation.org>
Date:	Mon, 14 May 2007 00:16:32 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc:	<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Add __vunmap prototype

On Mon, 14 May 2007 17:07:03 +1000 Benjamin Herrenschmidt <benh@...nel.crashing.org> wrote:

> __vunmap is not static but I couldn't find a prototype for it, so this
> adds it. I need to use it in some powerpc patch to come.
> 
> Signed-off-by: Benjamin Herrenschmidt <benh@...nel.crashing.org>
> 
>  include/linux/vmalloc.h |    1 +
>  1 file changed, 1 insertion(+)
> 
> Index: linux-cell/include/linux/vmalloc.h
> ===================================================================
> --- linux-cell.orig/include/linux/vmalloc.h	2007-05-14 16:03:42.000000000 +1000
> +++ linux-cell/include/linux/vmalloc.h	2007-05-14 16:03:47.000000000 +1000
> @@ -50,6 +50,7 @@ extern void vfree(void *addr);
>  extern void *vmap(struct page **pages, unsigned int count,
>  			unsigned long flags, pgprot_t prot);
>  extern void vunmap(void *addr);
> +extern void __vunmap(void *addr, int deallocate_pages);
>  
>  extern int remap_vmalloc_range(struct vm_area_struct *vma, void *addr,
>  							unsigned long pgoff);

um, the only possible reason for wanting to access __vunmap() is that you
want to do vunmap() from interrupt context, which is deadlockable.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ