mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kumon@flab.fujitsu.co.jp
To: Manfred Spraul <manfred@colorfullife.com>
Cc: Davide Libenzi <davidel@xmailserver.org>,
	Shuji YAMAMURA <yamamura@flab.fujitsu.co.jp>,
	lkml <linux-kernel@vger.kernel.org>
Cc: kumon@flab.fujitsu.co.jp
Subject: Re: [PATCH] task_struct + kernel stack colouring ...
Date: Thu, 6 Dec 2001 09:12:45 +0900	[thread overview]
Message-ID: <200112060012.JAA04482@asami.proc.flab.fujitsu.co.jp> (raw)
In-Reply-To: <3C0E84B4.1070808@colorfullife.com>
In-Reply-To: <Pine.LNX.4.40.0112051103100.1644-100000@blue1.dev.mcafeelabs.com> <3C0E84B4.1070808@colorfullife.com>

Manfred Spraul writes:
 > Shuij, I don't understand why you need both a shift and a modulo: 
 > address % odd_number should generate a random distribution (i.e. all 
 > bits affect the result), even without the shift.

The lame duck reason was: previously it was intended to use within
Current macro, the division should be avoided such a frequently used
operation.

Currently the stack coloring operation is required only at process
creation time, division by a odd number is sufficient and we'll
experiment it.
--
Kouichi Kumon, Software Laboratory, Fujitsu Labs.
kumon@flab.fujitsu.co.jp

  parent reply	other threads:[~2001-12-06  0:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-04  2:13 Davide Libenzi
2001-12-05 12:22 ` Shuji YAMAMURA
2001-12-05 19:23   ` Davide Libenzi
2001-12-05 20:33     ` Manfred Spraul
2001-12-05 21:00       ` Davide Libenzi
2001-12-06  0:12     ` kumon [this message]
2001-12-06  8:34     ` Shuji YAMAMURA

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=200112060012.JAA04482@asami.proc.flab.fujitsu.co.jp \
    --to=kumon@flab.fujitsu.co.jp \
    --cc=davidel@xmailserver.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    --cc=yamamura@flab.fujitsu.co.jp \
    /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

all inboxes | Powered by JetHome®