linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: "open list:MIPS" <linux-mips@linux-mips.org>,
	open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] MIPS: set NR_syscall_tables appropriately
Date: Wed, 28 Sep 2016 08:58:00 +0200	[thread overview]
Message-ID: <82120249-b6c9-2772-427a-d7318c019a8c@imgtec.com> (raw)
In-Reply-To: <20160927120442.GF12981@linux-mips.org>

On 27.09.2016 14:04, Ralf Baechle wrote:
> On Mon, Aug 29, 2016 at 11:30:07AM +0200, Marcin Nowakowski wrote:
>
>> Depending on the kernel configuration, up to 3 syscall tables can be
>> used in parallel - so set the number properly to ensure syscall tracing
>> is set up properly.
>>
>> Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
>> ---
>>  arch/mips/include/asm/unistd.h | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/arch/mips/include/asm/unistd.h b/arch/mips/include/asm/unistd.h
>> index e558130..71162f3d 100644
>> --- a/arch/mips/include/asm/unistd.h
>> +++ b/arch/mips/include/asm/unistd.h
>> @@ -22,6 +22,10 @@
>>  #define NR_syscalls  (__NR_O32_Linux + __NR_O32_Linux_syscalls)
>>  #endif
>>
>> +#define NR_syscall_tables (1 + \
>> +	IS_ENABLED(CONFIG_MIPS32_O32) + \
>> +	IS_ENABLED(CONFIG_MIPS32_N32))
>> +
>>  #ifndef __ASSEMBLY__
>
> NR_syscall_tables is a new symbol but I don't see any users of this
> symbol?
>

Hi Ralf,

Patch 1/2 from this series did make use of that symbol.
However, this patch has now been superseded by a slightly different 
approach following a discussion on the original proposal ...

https://lkml.org/lkml/2016/9/16/57

Marcin

  reply	other threads:[~2016-09-28  7:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-29  9:30 [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Marcin Nowakowski
2016-08-29  9:30 ` [PATCH 2/2] MIPS: set NR_syscall_tables appropriately Marcin Nowakowski
2016-09-27 12:04   ` Ralf Baechle
2016-09-28  6:58     ` Marcin Nowakowski [this message]
2016-08-29 23:55 ` [PATCH 1/2] tracing/syscalls: allow multiple syscall numbers per syscall Andy Lutomirski
2016-08-30  8:14   ` Marcin Nowakowski
2016-08-30 18:52     ` Andy Lutomirski
2016-08-30 19:29       ` Steven Rostedt
2016-08-30 19:53         ` Andy Lutomirski
2016-08-30 20:58           ` Steven Rostedt
2016-08-30 21:45             ` Andy Lutomirski
2016-08-30 22:03               ` Steven Rostedt
2016-08-30 22:08                 ` Andy Lutomirski
2016-08-30 22:30                   ` Steven Rostedt
2016-08-30 23:09                     ` Andy Lutomirski
2016-08-30 23:28                       ` Steven Rostedt
2016-08-31  0:01                         ` Andy Lutomirski
2016-08-31 14:08                           ` Marcin Nowakowski
2016-08-31  7:00                         ` Marcin Nowakowski
2016-08-31  8:24           ` Arnd Bergmann
2016-09-01 15:24             ` Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82120249-b6c9-2772-427a-d7318c019a8c@imgtec.com \
    --to=marcin.nowakowski@imgtec.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).