Re: [PATCH 10/11] x86, rwsem: provide __down_write_killable

From
Michal Hocko <mhocko@kernel.org>
Date
2016-04-13 09:16:35
Also in
linux-arch, linux-s390, linux-sh, lkml, sparclinux
Reply to
Ingo Molnar, 2016-04-13
On Wed 13-04-16 11:08:30, Ingo Molnar wrote:
* Michal Hocko [off-list ref] wrote:
[...]
quoted
+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?

-- 
Michal Hocko
SUSE Labs
Thread (35 messages) 35 messages, 6 authors, last reply 2016-04-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help