Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1311725

Re: [PATCH] x86/calling.h: remove unused SAVE_ALL/RESTORE_ALL macros for !CONFIG_x86_64

From Andy Lutomirski <luto@amacapital.net>
Newsgroups linux.kernel
Subject Re: [PATCH] x86/calling.h: remove unused SAVE_ALL/RESTORE_ALL macros for !CONFIG_x86_64
Date 2016-01-18 19:00 +0100
Message-ID <qSmfU-43l-9@gated-at.bofh.it> (permalink)
References <qSiOZ-1Nw-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jan 18, 2016 at 6:13 AM, Alexander Kuleshov
<kuleshovmail@gmail.com> wrote:
> SAVE_ALL and RESTORE_ALL macros for !CONFIG_X86_64 were introduced in the
> 1a338ac32 commit (sched, x86: Optimize the preempt_schedule() call) and
> were used in the ___preempt_schedule and ___preempt_schedule_context from
> the  arch/x86/kernel/preempt.S. But the arch/x86/kernel/preempt.S was
> removed in the 0ad6e3c5 commit (x86: Speed up ___preempt_schedule*() by
> using THUNK helpers). The ___preempt_schedule/___preempt_schedule_context
> were reimplemeted and not used SAVE_ALL/RESTORE_ALL anymore.
>
> These macros have no users anymore, so we can remove them.

LGTM.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] x86/calling.h: remove unused SAVE_ALL/RESTORE_ALL macros for !CONFIG_x86_64 Alexander Kuleshov <kuleshovmail@gmail.com> - 2016-01-18 15:20 +0100
  Re: [PATCH] x86/calling.h: remove unused SAVE_ALL/RESTORE_ALL macros  for !CONFIG_x86_64 Andy Lutomirski <luto@amacapital.net> - 2016-01-18 19:00 +0100
  [tip:x86/asm] x86/asm/entry: Remove unused SAVE_ALL/  RESTORE_ALL macros for !CONFIG_x86_64 tip-bot for Alexander Kuleshov <tipbot@zytor.com> - 2016-01-19 14:40 +0100

csiph-web