[RFC][DISCUSSION] dma-mapping: allocating noncoherent buffer without mapping

2022-01-26 Thread Hyeonggon Yoo
Last month we discussed drivers that uses kmalloc(GFP_DMA) for noncoherent mapping should be converted to use DMA API [1]. Simple grep with GFP_DMA shows that many of drivers are mistakenly using GFP_DMA flag. So our purpose was to make DMA API choose right zone depending on device's dma mask.

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-29 Thread Hyeonggon Yoo
t; > >> Series also available in git, based on 5.16-rc3: > >> https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git/log/?h=slab-struct_slab-v2r2 > > > > Pushed a new branch slab-struct-slab-v3r3 with accumulated fixes and small > > tweaks >

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-26 Thread Hyeonggon Yoo
On Sat, Dec 25, 2021 at 05:53:23PM +, Matthew Wilcox wrote: > On Sat, Dec 25, 2021 at 09:16:55AM +0000, Hyeonggon Yoo wrote: > > # mm: Convert struct page to struct slab in functions used by other > > subsystems > > I'm not familiar with kasan, but to ask: > > Does

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-25 Thread Hyeonggon Yoo
t; > >> Series also available in git, based on 5.16-rc3: > >> https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git/log/?h=slab-struct_slab-v2r2 > > > > Pushed a new branch slab-struct-slab-v3r3 with accumulated fixes and small > > tweaks >

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-21 Thread Hyeonggon Yoo
On Tue, Dec 21, 2021 at 12:58:14AM +0100, Vlastimil Babka wrote: > On 12/16/21 16:00, Hyeonggon Yoo wrote: > > On Tue, Dec 14, 2021 at 01:57:22PM +0100, Vlastimil Babka wrote: > >> On 12/1/21 19:14, Vlastimil Babka wrote: > >> > Folks from non-slab subsystems are

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-16 Thread Hyeonggon Yoo
> > https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git/log/?h=slab-struct_slab-v2r2 > > Pushed a new branch slab-struct-slab-v3r3 with accumulated fixes and small > tweaks > and a new patch from Hyeonggon Yoo on top. To avoid too much spam, here's a > range diff

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-14 Thread Hyeonggon Yoo
On Tue, Dec 14, 2021 at 03:43:35PM +0100, Vlastimil Babka wrote: > On 12/14/21 15:38, Hyeonggon Yoo wrote: > > On Tue, Dec 14, 2021 at 01:57:22PM +0100, Vlastimil Babka wrote: > >> On 12/1/21 19:14, Vlastimil Babka wrote: > >> > Folks from non-slab subsystems are

Re: [PATCH v2 00/33] Separate struct slab from struct page

2021-12-14 Thread Hyeonggon Yoo
> > https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git/log/?h=slab-struct_slab-v2r2 > > Pushed a new branch slab-struct-slab-v3r3 with accumulated fixes and small > tweaks > and a new patch from Hyeonggon Yoo on top. To avoid too much spam, here's a > range di