RE: [PATCH] exfat: Avoid allocating upcase table using kcalloc()

2020-12-06 Thread Sungjong Seo
> > I have not yet received a report of the same issue. > > But I agree that this problem is likely to occur even if it is low > > probability. > > Perhaps I should clarify my setup a little bit more. > The issue can be reliably reproduced on my laptop. It has 8 GBs of RAM > (pretty common amount

Re: [PATCH] exfat: Avoid allocating upcase table using kcalloc()

2020-12-04 Thread Artem Labazov
> I have not yet received a report of the same issue. > But I agree that this problem is likely to occur even if it is low > probability. Perhaps I should clarify my setup a little bit more. The issue can be reliably reproduced on my laptop. It has 8 GBs of RAM (pretty common amount nowadays) and

RE: [PATCH] exfat: Avoid allocating upcase table using kcalloc()

2020-12-01 Thread Sungjong Seo
> The table for Unicode upcase conversion requires an order-5 allocation, > which may fail on a highly-fragmented system: > > pool-udisksd: page allocation failure: order:5, > mode:0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), > nodemask=(null),cpuset=/,mems_allowed=0 > CPU: 4 PID: 3756880 Comm: po

RE: [PATCH] exfat: Avoid allocating upcase table using kcalloc()

2020-11-24 Thread David Laight
From: Artem Labazov > Sent: 24 November 2020 19:48 > > The table for Unicode upcase conversion requires an order-5 allocation, > which may fail on a highly-fragmented system: ISTM that is the wrong way to do the case conversion. It is also why having to do it is bloody stupid. David - R

[PATCH] exfat: Avoid allocating upcase table using kcalloc()

2020-11-24 Thread Artem Labazov
The table for Unicode upcase conversion requires an order-5 allocation, which may fail on a highly-fragmented system: pool-udisksd: page allocation failure: order:5, mode:0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0 CPU: 4 PID: 3756880 Comm: pool-udisksd T

[PATCH] exfat: Avoid allocating upcase table using kcalloc()

2020-11-24 Thread Artem Labazov
The table for Unicode upcase conversion requires an order-5 allocation, which may fail on a highly-fragmented system: pool-udisksd: page allocation failure: order:5, mode:0x40dc0(GFP_KERNEL|__GFP_COMP|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0 CPU: 4 PID: 3756880 Comm: pool-udisksd T