Re: [PATCH 4/5] mremap04: Convert to new API

Andrea Cervesato via ltp <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
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-IBi9RG/[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.