lkml.org 
[lkml]   [2018]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] Add udmabuf misc device
  Hi,

> > > qemu test branch:
> > > https://git.kraxel.org/cgit/qemu/log/?h=sirius/udmabuf
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> > > + if (!shmem_mapping(file_inode(ubuf->filp)->i_mapping))
> > > + goto err_free_ubuf;
>
> Can/should we test here that the memfd has a locked down size here?

Makes sense. Suggested way to check that? unstatic memfd_get_seals()
function (mm/shmem.c)? Or is there some better way?

Also which seals should we require? Is F_SEAL_SHRINK enough?

> On that: Link to userspace patches/git tree using this would be nice.

See above.

cheers,
Gerd

\
 
 \ /
  Last update: 2018-05-29 12:49    [W:0.056 / U:5.764 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site