The issue with page allocation 5.3 rc1-rc2 (seems drm culprit here)

Alex Deucher alexdeucher at gmail.com
Thu Aug 8 14:26:20 UTC 2019


On Thu, Aug 8, 2019 at 4:13 AM Michel Dänzer <michel at daenzer.net> wrote:
>
> On 2019-08-08 7:31 a.m., Alex Deucher wrote:
> > On Wed, Aug 7, 2019 at 11:49 PM Mikhail Gavrilov
> > <mikhail.v.gavrilov at gmail.com> wrote:
> >>
> >> Unfortunately error "gnome-shell: page allocation failure: order:4,
> >> mode:0x40cc0(GFP_KERNEL|__GFP_COMP),
> >> nodemask=(null),cpuset=/,mems_allowed=0" still happens even with
> >> applying this patch.
> >
> > I think we can just drop the kmalloc altogether.  How about this patch?
>
> Memory allocated by kvz/malloc needs to be freed with kvfree.
>

Yup, good catch.  Updated patch attached.

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-amd-display-use-kvmalloc-for-dc_state-v2.patch
Type: text/x-patch
Size: 1915 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20190808/37f3827f/attachment.bin>


More information about the amd-gfx mailing list