[LTP] [PATCH 4/5] mremap04: Convert to new API
Andrea Cervesato
andrea.cervesato@suse.com
Fri Aug 7 08:23:15 CEST 2026
Hi Cyril,
> > + * Pass old_size of one page while the segment is two pages: the
> > + * mismatch is intentional and must be preserved.
> > */
>
> Wouldn't this be enough for the mremap() to fail even with regular
> mmap()? I do not see what the test needs the sysv shm for.
actually yes, but I think the original idea was to mix SysV with mremap()
syscall.
>
> Also the interaction between SysV shm and mremap() seems to be more
> complicated and may warrant more tests.
mmmh, any idea?
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
More information about the ltp
mailing list