Re: [PATCH 10/11] x86, rwsem: provide __down_write_killable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Michal Hocko <mhocko@xxxxxxxxxx>
- Subject: Re: [PATCH 10/11] x86, rwsem: provide __down_write_killable
- From: Ingo Molnar <mingo@xxxxxxxxxx>
- Date: Wed, 13 Apr 2016 11:19:43 +0200
- Cc: LKML <linux-kernel@xxxxxxxxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, Tony Luck <tony.luck@xxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Chris Zankel <chris@xxxxxxxxxx>, Max Filippov <jcmvbkbc@xxxxxxxxx>, x86@xxxxxxxxxx, linux-alpha@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, linux-sh@xxxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, linux-xtensa@xxxxxxxxxxxxxxxx, linux-arch@xxxxxxxxxxxxxxx, Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
- In-reply-to: <20160413091625.GF14351@dhcp22.suse.cz>
- List-id: <linux-ia64.vger.kernel.org>
- References: <1460041951-22347-1-git-send-email-mhocko@kernel.org> <1460041951-22347-11-git-send-email-mhocko@kernel.org> <20160413090829.GB29579@gmail.com> <20160413091625.GF14351@dhcp22.suse.cz>
- User-agent: Mutt/1.5.23 (2014-03-12)
* Michal Hocko <mhocko@xxxxxxxxxx> wrote:
> On Wed 13-04-16 11:08:30, Ingo Molnar wrote:
> >
> > * Michal Hocko <mhocko@xxxxxxxxxx> wrote:
> [...]
> > > +ENTRY(call_rwsem_down_write_failed_killable)
> > > + save_common_regs
> > > + movq %rax,%rdi
> > > + call rwsem_down_write_failed_killable
> > > + restore_common_regs
> > > + ret
> > > +ENDPROC(call_rwsem_down_write_failed_killable)
> >
> > Got this objtool warning on x86-64 allyesconfig:
> >
> > arch/x86/lib/rwsem.o: warning: objtool: call_rwsem_down_write_failed_killable()+0xe: call without frame pointer save/setup
>
> Peter has already pointed that out. This is because the 4.5 which I was
> basing my work on doesn't have 3387a535ce62 ("x86/asm: Create stack
> frames in rwsem functions") which shown up in 4.6-rc1. He mentioned to
> add the missing FRAME_{BEGIN,END} during the merge AFAIR.
>
> Does that sound reasonable to you or should I rebase?
I'm testing your patches today, if they are otherwise OK then please send a delta
patch against the tip:locking/rwsem tree I'll push out.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]