linux-mips
[Top] [All Lists]

Re: [PATCH 2/2] MIPS: Move signal trampolines off of the stack.

To: David Daney <ddaney@caviumnetworks.com>
Subject: Re: [PATCH 2/2] MIPS: Move signal trampolines off of the stack.
From: David VomLehn <dvomlehn@cisco.com>
Date: Wed, 22 Apr 2009 10:57:32 -0700
Authentication-results: sj-dkim-3; header.From=dvomlehn@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; );
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; l=530; t=1240423052; x=1241287052; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dvomlehn@cisco.com; z=From:=20David=20VomLehn=20<dvomlehn@cisco.com> |Subject:=20Re=3A=20[PATCH=202/2]=20MIPS=3A=20Move=20signal =20trampolines=20off=20of=20the=20stack. |Sender:=20; bh=Z6lFNZuBwLa4bXdMlVEUxri/yoqUYJ42Htj4f3iYvnM=; b=qasB7TuDly6lWvxpAz2Z9AqYAf/8MZUGk1VB7zhEvrmpmQLSJq27MGStmy KBlaQ0+e6hbaIzF5qBD1NO3Ff8zQUp6rRvfsL/9L2lSWDlr02HX7BijVP98H 18eOUjQU7S;
In-reply-to: <1240349605-1921-2-git-send-email-ddaney@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <49EE3B0F.3040506@caviumnetworks.com> <1240349605-1921-2-git-send-email-ddaney@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Tue, Apr 21, 2009 at 02:33:25PM -0700, David Daney wrote:
> This is a follow on to the vdso patch.
> 
> Since all processes now have signal trampolines permanently mapped, we
> can use those instead of putting the trampoline on the stack and
> invalidating the corresponding icache across all CPUs.  We also get
> rid of a bunch of ICACHE_REFILLS_WORKAROUND_WAR code.

This sure gets rid of some ugly code!

> Signed-off-by: David Daney <ddaney@caviumnetworks.com>

Reviewed by: David VomLehn <dvomlehn@cisco.com>

<Prev in Thread] Current Thread [Next in Thread>