[LTP] [PATCH v3 1/2] rseq: Copy linux rseq test header files to ltp

Wei Gao wegao@suse.com
Tue Mar 14 23:40:41 CET 2023


On Tue, Mar 14, 2023 at 05:29:23PM +0100, Cyril Hrubis wrote:
> Hi!
> > > We actually does not need most of the code. The only thing that we use
> > > from the architecture specific headers is the RSEQ_SIG constant. So
> > > unless you actually plan to write tests that use the assembly code in
> > > these headers I would put just the RSEQ_SIG into the lapi/rseq.h instead.
> > > 
> > > There is no point in adding complex code that is not going to the be
> > > used.
> > > 
> > Yes, indeed, that's why i have made a patch v5 to ONLY work on x86_64 together with only function/macro to be 
> > used. Try to make test case small but the size is still big. This system call has no easy/friendly end user inteface
> > .
> 
> Now I'm confused, I do not see a v5 rseq patchset. Also there is no need
> to limit the test to x86_64 all that we need is a per architecture
> RSEQ_SIG definition.
> 
https://patchwork.ozlabs.org/project/ltp/patch/20230314093725.3814-1-wegao@suse.com/
Maybe already set to change request so you can not see it?

> -- 
> Cyril Hrubis
> chrubis@suse.cz


More information about the ltp mailing list