search for: copy_user_highpage

Displaying 6 results from an estimated 6 matches for "copy_user_highpage".

2019 Mar 12
0
[RFC PATCH V2 0/5] vhost: accelerate metadata access through vmap()
...an already lost cause. In lots of cases kmap is needed to just modify kernel memory not to modify userland memory (where get/put_user is more commonly used instead..), there's no cache aliasing in such case. > Actually copy_user_page() is unused in the main kernel. The big > problem is copy_user_highpage() but that's mostly highly optimised by > the VIPT architectures (in other words you can fiddle with kmap without > impacting it). copy_user_page is not unused, it's called precisely by copy_user_highpage, which is why the cache flushes are done inside copy_user_page. static inline...
2008 Oct 27
0
[PATCH 4/4] linux/i386: utilize hypervisor highmem handling helpers
...id clear_highpage(struct page *); +static inline void clear_user_highpage(struct page *page, unsigned long vaddr) +{ + clear_highpage(page); +} +#define __HAVE_ARCH_CLEAR_HIGHPAGE +#define __HAVE_ARCH_CLEAR_USER_HIGHPAGE + +void copy_highpage(struct page *to, struct page *from); +static inline void copy_user_highpage(struct page *to, struct page *from, + unsigned long vaddr, struct vm_area_struct *vma) +{ + copy_highpage(to, from); +} +#define __HAVE_ARCH_COPY_HIGHPAGE +#define __HAVE_ARCH_COPY_USER_HIGHPAGE + #endif /* __KERNEL__ */ #endif /* _ASM_HIGHMEM_H */ Index: head-2008-10-24/include/linux/highmem.h...
2019 Mar 12
9
[RFC PATCH V2 0/5] vhost: accelerate metadata access through vmap()
On Tue, Mar 12, 2019 at 10:59:09AM +0800, Jason Wang wrote: > > On 2019/3/12 ??2:14, David Miller wrote: > > From: "Michael S. Tsirkin" <mst at redhat.com> > > Date: Mon, 11 Mar 2019 09:59:28 -0400 > > > > > On Mon, Mar 11, 2019 at 03:13:17PM +0800, Jason Wang wrote: > > > > On 2019/3/8 ??10:12, Christoph Hellwig wrote: > > >
2019 Mar 12
9
[RFC PATCH V2 0/5] vhost: accelerate metadata access through vmap()
On Tue, Mar 12, 2019 at 10:59:09AM +0800, Jason Wang wrote: > > On 2019/3/12 ??2:14, David Miller wrote: > > From: "Michael S. Tsirkin" <mst at redhat.com> > > Date: Mon, 11 Mar 2019 09:59:28 -0400 > > > > > On Mon, Mar 11, 2019 at 03:13:17PM +0800, Jason Wang wrote: > > > > On 2019/3/8 ??10:12, Christoph Hellwig wrote: > > >
2004 Apr 30
2
Can not compile zaptel at SuSE 9.0
...undeclared identifier is reported only once /usr/src/linux/include/linux/highmem.h:93: error: for each function it appears in.) /usr/src/linux/include/linux/highmem.h:132:41: macro "copy_user_page" requires 4 arguments, but only 3 given /usr/src/linux/include/linux/highmem.h: In function `copy_user_highpage': /usr/src/linux/include/linux/highmem.h:132: error: `copy_user_page' undeclared (first use in this function) In file included from /usr/include/linux/dma-mapping.h:13, from /usr/include/asm-generic/pci-dma-compat.h:7, from /usr/include/asm/pci.h:92,...
2004 Jul 19
0
Cant compile Zaptel at all
...undeclared identifier is reported only once /usr/src/linux/include/linux/highmem.h:87: error: for each function it appears in.) /usr/src/linux/include/linux/highmem.h:119:41: macro "copy_user_page" requires 4 arguments, but only 3 given /usr/src/linux/include/linux/highmem.h: In function `copy_user_highpage': /usr/src/linux/include/linux/highmem.h:119: error: `copy_user_page' undeclared (first use in this function) In file included from /usr/include/linux/dma-mapping.h:13, from /usr/include/asm-generic/pci-dma-compat.h:7, from /usr/include/asm/pci.h:92,...