search for: _pages

Displaying 12 results from an estimated 12 matches for "_pages".

Did you mean: pages
2020 Aug 19
1
[PATCH 19/28] dma-mapping: replace DMA_ATTR_NON_CONSISTENT with dma_{alloc, free}_pages
Hi Christoph, On Wed, Aug 19, 2020 at 8:57 AM Christoph Hellwig <hch at lst.de> wrote: > > Add a new API to allocate and free pages that are guaranteed to be > addressable by a device, but otherwise behave like pages allocated by > alloc_pages. The intended APIs to sync them for use with the device > and cpu are dma_sync_single_for_{device,cpu} that are also used for > streaming mappings. > > Switch all drivers over to this new API, but keep the usage of the > crufty dma_cache_sync API for now, which will be cleaned up on...
2007 Apr 18
1
[PATCH 1/5] Add pagetable allocation notifiers
...============ --- linux-2.6.13.orig/arch/i386/mm/init.c 2005-08-24 09:31:05.000000000 -0700 +++ linux-2.6.13/arch/i386/mm/init.c 2005-08-24 09:31:31.000000000 -0700 @@ -79,6 +79,7 @@ static pte_t * __init one_page_table_ini { if (pmd_none(*pmd)) { pte_t *page_table = (pte_t *) alloc_bootmem_low_pages(PAGE_SIZE); + SetPagePTE(virt_to_page(page_table)); set_pmd(pmd, __pmd(__pa(page_table) | _PAGE_TABLE)); if (page_table != pte_offset_kernel(pmd, 0)) BUG(); Index: linux-2.6.13/arch/i386/mm/pageattr.c =================================================================== --- linux-2.6.13.o...
2007 Apr 18
1
[PATCH 1/5] Add pagetable allocation notifiers
...============ --- linux-2.6.13.orig/arch/i386/mm/init.c 2005-08-24 09:31:05.000000000 -0700 +++ linux-2.6.13/arch/i386/mm/init.c 2005-08-24 09:31:31.000000000 -0700 @@ -79,6 +79,7 @@ static pte_t * __init one_page_table_ini { if (pmd_none(*pmd)) { pte_t *page_table = (pte_t *) alloc_bootmem_low_pages(PAGE_SIZE); + SetPagePTE(virt_to_page(page_table)); set_pmd(pmd, __pmd(__pa(page_table) | _PAGE_TABLE)); if (page_table != pte_offset_kernel(pmd, 0)) BUG(); Index: linux-2.6.13/arch/i386/mm/pageattr.c =================================================================== --- linux-2.6.13.o...
2007 Apr 18
0
[PATCH 13/14] i386 / Introduce hypervisor ldt hooks
...inux-2.6.13.orig/include/asm-i386/mach-default/mach_pgalloc.h 2005-08-10 17:11:38.000000000 -0700 +++ linux-2.6.13/include/asm-i386/mach-default/mach_pgalloc.h 2005-08-10 17:11:38.000000000 -0700 @@ -0,0 +1,7 @@ +#ifndef __ASM_MACH_PGALLOC_H +#define __ASM_MACH_PGALLOC_H + +#define SetPagesLDT(_va, _pages) +#define ClearPagesLDT(_va, _pages) + +#endif
2007 Apr 18
0
[PATCH 13/14] i386 / Introduce hypervisor ldt hooks
...inux-2.6.13.orig/include/asm-i386/mach-default/mach_pgalloc.h 2005-08-10 17:11:38.000000000 -0700 +++ linux-2.6.13/include/asm-i386/mach-default/mach_pgalloc.h 2005-08-10 17:11:38.000000000 -0700 @@ -0,0 +1,7 @@ +#ifndef __ASM_MACH_PGALLOC_H +#define __ASM_MACH_PGALLOC_H + +#define SetPagesLDT(_va, _pages) +#define ClearPagesLDT(_va, _pages) + +#endif
2007 Jan 17
4
windows mobile 5 softphone for square screen devices
Guys, anybody has seen or is using some kind of softphone on any square screen device with WM5? Ive tried sjlabs one and xten for pocket pc and they do work on Wm5 but they are designed for standard screens, anybody using anything on square ones?
2020 Aug 19
0
[PATCH 19/28] dma-mapping: replace DMA_ATTR_NON_CONSISTENT with dma_{alloc, free}_pages
Add a new API to allocate and free pages that are guaranteed to be addressable by a device, but otherwise behave like pages allocated by alloc_pages. The intended APIs to sync them for use with the device and cpu are dma_sync_single_for_{device,cpu} that are also used for streaming mappings. Switch all drivers over to this new API, but keep the usage of the crufty dma_cache_sync API for now, which will be cleaned up on a driver by driver basi...
2007 Apr 18
2
pgd_alloc and [cd]tors
Is there any real use in having a ctor/dtor for the pgd cache? Given that all pgd allocation happens via pgd_alloc/pgd_free, why not just fold the [cd]tor in? I'm asking because Xen wants pgd[3] to be unshared in the PAE case, and it looks to me like the easiest way to handle that is by making pgd_alloc/free pv-ops and doing the appropriate thing in the Xen code. Would need to sort out the
2007 Apr 18
2
pgd_alloc and [cd]tors
Is there any real use in having a ctor/dtor for the pgd cache? Given that all pgd allocation happens via pgd_alloc/pgd_free, why not just fold the [cd]tor in? I'm asking because Xen wants pgd[3] to be unshared in the PAE case, and it looks to me like the easiest way to handle that is by making pgd_alloc/free pv-ops and doing the appropriate thing in the Xen code. Would need to sort out the
2006 Feb 03
1
modifying scaffold method
...pack/lib/action_controller/scaffolding.rb (revision 125) +++ vendor/rails/actionpack/lib/action_controller/scaffolding.rb (working copy) @@ -99,7 +99,7 @@ module_eval <<-"end_eval", __FILE__, __LINE__ def list#{suffix} - @#{singular_name}_pages, @#{plural_name} = paginate :#{plural_name}, :per_page => 10 + @#{plural_name} = #{class_name}.find(:all) render#{suffix}_scaffold "list#{suffix}" end @@ -109,8 +109,12 @@ end def destroy#{suffix} - #{class_name}.fin...
2007 Apr 18
3
Per-cpu patches on top of PDA stuff...
Hi Jeremy, all, Sorry this took so long, spent last week in Japan at OSDL conf then netconf. After several false starts, I ended up with a very simple implementation, which clashes significantly with your work since then 8(. I've pushed the patches anyway, but it's going to be significant work for me to re-merge them, so I wanted your feedback first. The first patch simply changes
2007 Apr 18
3
Per-cpu patches on top of PDA stuff...
Hi Jeremy, all, Sorry this took so long, spent last week in Japan at OSDL conf then netconf. After several false starts, I ended up with a very simple implementation, which clashes significantly with your work since then 8(. I've pushed the patches anyway, but it's going to be significant work for me to re-merge them, so I wanted your feedback first. The first patch simply changes