quot; <dvyu...@google.com>,
> "LKML" <linux-kernel@vger.kernel.org>, "Linux-MM" <linux...@kvack.org>
> Sent: Thursday, April 26, 2018 8:56:35 PM
> Subject: Re: [RFC] mm: kmemleak: replace __GFP_NOFAIL to GFP_NOWAIT in
> gfp_kmemleak_mask
>
- Original Message -
> From: "Catalin Marinas"
> To: "Chunyu Hu"
> Cc: "Michal Hocko" , "Chunyu Hu" ,
> "Dmitry Vyukov" ,
> "LKML" , "Linux-MM"
> Sent: Thursday, April 26, 2018 8:56:35 PM
>
quot; <dvyu...@google.com>,
> "LKML" <linux-kernel@vger.kernel.org>, "Linux-MM" <linux...@kvack.org>
> Sent: Wednesday, April 25, 2018 10:33:49 PM
> Subject: Re: [RFC] mm: kmemleak: replace __GFP_NOFAIL to GFP_NOWAIT in
> gfp_kmemleak_mask
>
- Original Message -
> From: "Chunyu Hu"
> To: "Catalin Marinas"
> Cc: "Michal Hocko" , "Chunyu Hu" ,
> "Dmitry Vyukov" ,
> "LKML" , "Linux-MM"
> Sent: Wednesday, April 25, 2018 10:33:49 PM
>
On Thu, Apr 26, 2018 at 08:23:19AM -0400, Chunyu Hu wrote:
> kmemleak is using kmem_cache to record every pointers returned from kernel
> mem
> allocation activities such as kmem_cache_alloc(). every time an object from
> slab allocator is returned, a following new kmemleak object is allocated.
On Thu, Apr 26, 2018 at 08:23:19AM -0400, Chunyu Hu wrote:
> kmemleak is using kmem_cache to record every pointers returned from kernel
> mem
> allocation activities such as kmem_cache_alloc(). every time an object from
> slab allocator is returned, a following new kmemleak object is allocated.
as"
> <catalin.mari...@arm.com>, "LKML" <linux-kernel@vger.kernel.org>, "Linux-MM"
> <linux...@kvack.org>
> Sent: Wednesday, April 25, 2018 1:02:39 AM
> Subject: Re: [RFC] mm: kmemleak: replace __GFP_NOFAIL to GFP_NOWAIT in
> gfp_kmemleak_ma
u Hu"
> > > Cc: "Dmitry Vyukov" , "Catalin Marinas"
> > > , "Chunyu Hu"
> > > , "LKML" , "Linux-MM"
> > >
> > > Sent: Tuesday, April 24, 2018 9:20:57 PM
> > > Subject: Re: [RFC] mm: kmemlea
quot; <dvyu...@google.com>,
> "LKML" <linux-kernel@vger.kernel.org>, "Linux-MM" <linux...@kvack.org>
> Sent: Wednesday, April 25, 2018 8:51:55 PM
> Subject: Re: [RFC] mm: kmemleak: replace __GFP_NOFAIL to GFP_NOWAIT in
> gfp_kmemleak_mask
>
- Original Message -
> From: "Catalin Marinas"
> To: "Chunyu Hu"
> Cc: "Michal Hocko" , "Chunyu Hu" ,
> "Dmitry Vyukov" ,
> "LKML" , "Linux-MM"
> Sent: Wednesday, April 25, 2018 8:51:55 PM
>
On Wed, Apr 25, 2018 at 05:50:41AM -0400, Chunyu Hu wrote:
> - Original Message -
> > From: "Catalin Marinas"
> > On Tue, Apr 24, 2018 at 07:20:57AM -0600, Michal Hocko wrote:
> > > On Mon 23-04-18 12:17:32, Chunyu Hu wrote:
> > > [...]
> > > > So if there is a
On Wed, Apr 25, 2018 at 05:50:41AM -0400, Chunyu Hu wrote:
> - Original Message -
> > From: "Catalin Marinas"
> > On Tue, Apr 24, 2018 at 07:20:57AM -0600, Michal Hocko wrote:
> > > On Mon 23-04-18 12:17:32, Chunyu Hu wrote:
> > > [...]
> > > > So if there is a new flag, it would be the
u" <ch...@redhat.com>, "LKML"
> <linux-kernel@vger.kernel.org>, "Linux-MM" <linux...@kvack.org>
> Sent: Tuesday, April 24, 2018 9:41:48 PM
> Subject: Re: [RFC] mm: kmemleak: replace __GFP_NOFAIL to GFP_NOWAIT in
> gfp_kmemleak_m
- Original Message -
> From: "Catalin Marinas"
> To: "Michal Hocko"
> Cc: "Chunyu Hu" , "Dmitry Vyukov"
> , "Chunyu Hu" , "LKML"
> , "Linux-MM"
> Sent: Tuesday, April 24, 2018 9:41:48 PM
>
t; <chuhu.nc...@gmail.com>
>> > Cc: "Dmitry Vyukov" <dvyu...@google.com>, "Catalin Marinas"
>> > <catalin.mari...@arm.com>, "Chunyu Hu"
>> > <ch...@redhat.com>, "LKML" <linux-kernel@vger.kern
ot;Catalin Marinas"
>> > , "Chunyu Hu"
>> > , "LKML" , "Linux-MM"
>> >
>> > Sent: Tuesday, April 24, 2018 9:20:57 PM
>> > Subject: Re: [RFC] mm: kmemleak: replace __GFP_NOFAIL to GFP_NOWAIT in
>> > gfp_kmeml
talin Marinas"
> > <catalin.mari...@arm.com>, "Chunyu Hu"
> > <ch...@redhat.com>, "LKML" <linux-kernel@vger.kernel.org>, "Linux-MM"
> > <linux...@kvack.org>
> > Sent: Tuesday, April 24, 2018 9:20:57 PM
>
KML" , "Linux-MM"
> >
> > Sent: Tuesday, April 24, 2018 9:20:57 PM
> > Subject: Re: [RFC] mm: kmemleak: replace __GFP_NOFAIL to GFP_NOWAIT in
> > gfp_kmemleak_mask
> >
> > On Mon 23-04-18 12:17:32, Chunyu Hu wrote:
> > [...]
> > > So if
Chunyu Hu"
> <ch...@redhat.com>, "LKML" <linux-kernel@vger.kernel.org>, "Linux-MM"
> <linux...@kvack.org>
> Sent: Tuesday, April 24, 2018 9:20:57 PM
> Subject: Re: [RFC] mm: kmemleak: replace __GFP_NOFAIL to GFP_NOWAIT in
> gfp_kmemleak_mask
>
- Original Message -
> From: "Michal Hocko"
> To: "Chunyu Hu"
> Cc: "Dmitry Vyukov" , "Catalin Marinas"
> , "Chunyu Hu"
> , "LKML" , "Linux-MM"
>
> Sent: Tuesday, April 24, 2018 9:20:57 PM
&g
On Tue, Apr 24, 2018 at 07:20:57AM -0600, Michal Hocko wrote:
> On Mon 23-04-18 12:17:32, Chunyu Hu wrote:
> [...]
> > So if there is a new flag, it would be the 25th bits.
>
> No new flags please. Can you simply store a simple bool into fail_page_alloc
> and have save/restore api for that?
For
On Tue, Apr 24, 2018 at 07:20:57AM -0600, Michal Hocko wrote:
> On Mon 23-04-18 12:17:32, Chunyu Hu wrote:
> [...]
> > So if there is a new flag, it would be the 25th bits.
>
> No new flags please. Can you simply store a simple bool into fail_page_alloc
> and have save/restore api for that?
For
On Mon 23-04-18 12:17:32, Chunyu Hu wrote:
[...]
> So if there is a new flag, it would be the 25th bits.
No new flags please. Can you simply store a simple bool into fail_page_alloc
and have save/restore api for that?
--
Michal Hocko
SUSE Labs
On Mon 23-04-18 12:17:32, Chunyu Hu wrote:
[...]
> So if there is a new flag, it would be the 25th bits.
No new flags please. Can you simply store a simple bool into fail_page_alloc
and have save/restore api for that?
--
Michal Hocko
SUSE Labs
On 22 April 2018 at 23:00, Dmitry Vyukov wrote:
> On Sun, Apr 22, 2018 at 2:51 PM, Michal Hocko wrote:
>> On Fri 20-04-18 18:50:24, Catalin Marinas wrote:
>>> On Sat, Apr 21, 2018 at 12:58:33AM +0800, Chunyu Hu wrote:
>>> > __GFP_NORETRY and __GFP_NOFAIL
On 22 April 2018 at 23:00, Dmitry Vyukov wrote:
> On Sun, Apr 22, 2018 at 2:51 PM, Michal Hocko wrote:
>> On Fri 20-04-18 18:50:24, Catalin Marinas wrote:
>>> On Sat, Apr 21, 2018 at 12:58:33AM +0800, Chunyu Hu wrote:
>>> > __GFP_NORETRY and __GFP_NOFAIL are combined in gfp_kmemleak_mask now.
On 21 April 2018 at 01:50, Catalin Marinas wrote:
> On Sat, Apr 21, 2018 at 12:58:33AM +0800, Chunyu Hu wrote:
>> __GFP_NORETRY and __GFP_NOFAIL are combined in gfp_kmemleak_mask now.
>> But it's a wrong combination. As __GFP_NOFAIL is blockable, but
>> __GFP_NORETY is
On 21 April 2018 at 01:50, Catalin Marinas wrote:
> On Sat, Apr 21, 2018 at 12:58:33AM +0800, Chunyu Hu wrote:
>> __GFP_NORETRY and __GFP_NOFAIL are combined in gfp_kmemleak_mask now.
>> But it's a wrong combination. As __GFP_NOFAIL is blockable, but
>> __GFP_NORETY is not blockable, make it
On Sun, Apr 22, 2018 at 2:51 PM, Michal Hocko wrote:
> On Fri 20-04-18 18:50:24, Catalin Marinas wrote:
>> On Sat, Apr 21, 2018 at 12:58:33AM +0800, Chunyu Hu wrote:
>> > __GFP_NORETRY and __GFP_NOFAIL are combined in gfp_kmemleak_mask now.
>> > But it's a wrong combination.
On Sun, Apr 22, 2018 at 2:51 PM, Michal Hocko wrote:
> On Fri 20-04-18 18:50:24, Catalin Marinas wrote:
>> On Sat, Apr 21, 2018 at 12:58:33AM +0800, Chunyu Hu wrote:
>> > __GFP_NORETRY and __GFP_NOFAIL are combined in gfp_kmemleak_mask now.
>> > But it's a wrong combination. As __GFP_NOFAIL is
On Fri 20-04-18 18:50:24, Catalin Marinas wrote:
> On Sat, Apr 21, 2018 at 12:58:33AM +0800, Chunyu Hu wrote:
> > __GFP_NORETRY and __GFP_NOFAIL are combined in gfp_kmemleak_mask now.
> > But it's a wrong combination. As __GFP_NOFAIL is blockable, but
> > __GFP_NORETY is not blockable, make it
On Fri 20-04-18 18:50:24, Catalin Marinas wrote:
> On Sat, Apr 21, 2018 at 12:58:33AM +0800, Chunyu Hu wrote:
> > __GFP_NORETRY and __GFP_NOFAIL are combined in gfp_kmemleak_mask now.
> > But it's a wrong combination. As __GFP_NOFAIL is blockable, but
> > __GFP_NORETY is not blockable, make it
On Fri, Apr 20, 2018 at 7:50 PM, Catalin Marinas
wrote:
> On Sat, Apr 21, 2018 at 12:58:33AM +0800, Chunyu Hu wrote:
>> __GFP_NORETRY and __GFP_NOFAIL are combined in gfp_kmemleak_mask now.
>> But it's a wrong combination. As __GFP_NOFAIL is blockable, but
>>
On Fri, Apr 20, 2018 at 7:50 PM, Catalin Marinas
wrote:
> On Sat, Apr 21, 2018 at 12:58:33AM +0800, Chunyu Hu wrote:
>> __GFP_NORETRY and __GFP_NOFAIL are combined in gfp_kmemleak_mask now.
>> But it's a wrong combination. As __GFP_NOFAIL is blockable, but
>> __GFP_NORETY is not blockable, make
On Sat, Apr 21, 2018 at 12:58:33AM +0800, Chunyu Hu wrote:
> __GFP_NORETRY and __GFP_NOFAIL are combined in gfp_kmemleak_mask now.
> But it's a wrong combination. As __GFP_NOFAIL is blockable, but
> __GFP_NORETY is not blockable, make it self-contradiction.
>
> __GFP_NOFAIL means 'The VM
On Sat, Apr 21, 2018 at 12:58:33AM +0800, Chunyu Hu wrote:
> __GFP_NORETRY and __GFP_NOFAIL are combined in gfp_kmemleak_mask now.
> But it's a wrong combination. As __GFP_NOFAIL is blockable, but
> __GFP_NORETY is not blockable, make it self-contradiction.
>
> __GFP_NOFAIL means 'The VM
__GFP_NORETRY and __GFP_NOFAIL are combined in gfp_kmemleak_mask now.
But it's a wrong combination. As __GFP_NOFAIL is blockable, but
__GFP_NORETY is not blockable, make it self-contradiction.
__GFP_NOFAIL means 'The VM implementation _must_ retry infinitely'. But
it's not the real intention, as
__GFP_NORETRY and __GFP_NOFAIL are combined in gfp_kmemleak_mask now.
But it's a wrong combination. As __GFP_NOFAIL is blockable, but
__GFP_NORETY is not blockable, make it self-contradiction.
__GFP_NOFAIL means 'The VM implementation _must_ retry infinitely'. But
it's not the real intention, as
38 matches
Mail list logo