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


Groups > linux.kernel > #1296739

Re: [PATCH v2] rt: x86: enable preemption in IST exception for x86-32

From Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2] rt: x86: enable preemption in IST exception for x86-32
Date 2015-12-22 13:10 +0100
Message-ID <qItVo-3Mn-5@gated-at.bofh.it> (permalink)
References <qFKJ4-4oW-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Yang Shi | 2015-12-14 15:06:44 [-0800]:

>Mainline kernel commit 959274753857efe9c5f1ba35fe727f51e9aa128d
>("x86, traps: Track entry into and exit from IST context"), introduced
>ist_enter which disables preemption uncondiontionally for both x86-64 and
>x86-32. However, x86-32 does not have an IST and the stack still belongs to
>the current task and there is no problem in scheduling out the task.

no no. So from a quick look I *assumed* you merged your v1 and revert of the
Steven's patch into one piece. But now I see that you don't disable preemption
64bit which means you revert upstream change.

Here is what happens:
- I drop your v2
- I merge your v1 with updated patch description
- I revert "x86: Do not disable preemption in int3 on 32bit". If someone
  wants to skip the delayed signal on 32bit please address this upstream
  first (that is skip the preempt_disable() on 32bit if it is not
  required there).
- Yang Shi, please send a changelong if you send incremental patches.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH v2] rt: x86: enable preemption in IST exception for x86-32 Yang Shi <yang.shi@linaro.org> - 2015-12-15 00:30 +0100
  Re: [PATCH v2] rt: x86: enable preemption in IST exception for x86-32 Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2015-12-22 13:10 +0100
    Re: [PATCH v2] rt: x86: enable preemption in IST exception for x86-32 "Shi, Yang" <yang.shi@linaro.org> - 2015-12-22 19:20 +0100

csiph-web