On Sat, 21 Apr 2018, Vlastimil Babka wrote:
> > The problem is that SLUB does not honor GFP_NORETRY. The semantics of
> > GFP_NORETRY are not followed.
>
> The caller might want SLUB to try hard to get that high-order page that
> will minimize memory waste (e.g. 2MB page for 3 640k objects), and
On Sat, 21 Apr 2018, Vlastimil Babka wrote:
> > The problem is that SLUB does not honor GFP_NORETRY. The semantics of
> > GFP_NORETRY are not followed.
>
> The caller might want SLUB to try hard to get that high-order page that
> will minimize memory waste (e.g. 2MB page for 3 640k objects), and
On 04/20/2018 04:53 PM, Christopher Lameter wrote:
> On Thu, 19 Apr 2018, Michal Hocko wrote:
>
>> Overriding __GFP_NORETRY is just a bad idea. It will make the semantic
>> of the flag just more confusing. Note there are users who use
>> __GFP_NORETRY as a way to suppress heavy memory pressure
On 04/20/2018 04:53 PM, Christopher Lameter wrote:
> On Thu, 19 Apr 2018, Michal Hocko wrote:
>
>> Overriding __GFP_NORETRY is just a bad idea. It will make the semantic
>> of the flag just more confusing. Note there are users who use
>> __GFP_NORETRY as a way to suppress heavy memory pressure
On Thu, 19 Apr 2018, Michal Hocko wrote:
> Overriding __GFP_NORETRY is just a bad idea. It will make the semantic
> of the flag just more confusing. Note there are users who use
> __GFP_NORETRY as a way to suppress heavy memory pressure and/or the OOM
> killer. You do not want to change the
On Thu, 19 Apr 2018, Michal Hocko wrote:
> Overriding __GFP_NORETRY is just a bad idea. It will make the semantic
> of the flag just more confusing. Note there are users who use
> __GFP_NORETRY as a way to suppress heavy memory pressure and/or the OOM
> killer. You do not want to change the
On Wed 18-04-18 09:45:39, Cristopher Lameter wrote:
> Mikulas Patoka wants to ensure that no fallback to lower order happens. I
> think __GFP_NORETRY should work correctly in that case too and not fall
> back.
Overriding __GFP_NORETRY is just a bad idea. It will make the semantic
of the flag just
On Wed 18-04-18 09:45:39, Cristopher Lameter wrote:
> Mikulas Patoka wants to ensure that no fallback to lower order happens. I
> think __GFP_NORETRY should work correctly in that case too and not fall
> back.
Overriding __GFP_NORETRY is just a bad idea. It will make the semantic
of the flag just
On Wed, 18 Apr 2018, Mikulas Patocka wrote:
> > Mikulas Patoka wants to ensure that no fallback to lower order happens. I
> > think __GFP_NORETRY should work correctly in that case too and not fall
> > back.
> >
> >
> >
> > Allocating at a smaller order is a retry operation and should not
> >
On Wed, 18 Apr 2018, Mikulas Patocka wrote:
> > Mikulas Patoka wants to ensure that no fallback to lower order happens. I
> > think __GFP_NORETRY should work correctly in that case too and not fall
> > back.
> >
> >
> >
> > Allocating at a smaller order is a retry operation and should not
> >
On Wed, 18 Apr 2018, Mikulas Patocka wrote:
> No, this would hit NULL pointer dereference if page is NULL and
> __GFP_NORETRY is set. You want this:
You are right
Acked-by: Christoph Lameter
On Wed, 18 Apr 2018, Mikulas Patocka wrote:
> No, this would hit NULL pointer dereference if page is NULL and
> __GFP_NORETRY is set. You want this:
You are right
Acked-by: Christoph Lameter
On Wed, 18 Apr 2018, Christopher Lameter wrote:
> Mikulas Patoka wants to ensure that no fallback to lower order happens. I
> think __GFP_NORETRY should work correctly in that case too and not fall
> back.
>
>
>
> Allocating at a smaller order is a retry operation and should not
> be
On Wed, 18 Apr 2018, Christopher Lameter wrote:
> Mikulas Patoka wants to ensure that no fallback to lower order happens. I
> think __GFP_NORETRY should work correctly in that case too and not fall
> back.
>
>
>
> Allocating at a smaller order is a retry operation and should not
> be
Mikulas Patoka wants to ensure that no fallback to lower order happens. I
think __GFP_NORETRY should work correctly in that case too and not fall
back.
Allocating at a smaller order is a retry operation and should not
be attempted.
If the caller does not want retries then respect that.
Mikulas Patoka wants to ensure that no fallback to lower order happens. I
think __GFP_NORETRY should work correctly in that case too and not fall
back.
Allocating at a smaller order is a retry operation and should not
be attempted.
If the caller does not want retries then respect that.
16 matches
Mail list logo