]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ksplice: correctly clear garbage on signal handling.
authorJamie Iles <jamie.iles@oracle.com>
Thu, 12 Nov 2015 12:29:25 +0000 (12:29 +0000)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 30 Nov 2015 21:43:18 +0000 (13:43 -0800)
commit58349111e727bd835ecb2dd42a9756663f54add1
treed7a919d5b5e40ea6770a297fd116db0c227959b4
parent5bf1badcd02fcc0baefe13644f6c79e686a9412f
ksplice: correctly clear garbage on signal handling.

The test for _TIF_SIGPENDING was inverted, and so the stack was being
cleared when there were no signals pending rather than signals pending.
Correctly test _TIF_SIGPENDING so that the freezer can be used to clear
the stack of garbage when applying Ksplice updates.

Orabug: 22194459

Reviewed-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Signed-off-by: Jamie Iles <jamie.iles@oracle.com>
arch/x86/kernel/entry_32.S
arch/x86/kernel/entry_64.S