lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090916160358.7faadb5f.akpm@linux-foundation.org>
Date:	Wed, 16 Sep 2009 16:03:58 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Xiao Guangrong <xiaoguangrong@...fujitsu.com>
Cc:	mingo@...e.hu, rusty@...tcorp.com.au, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] stop_machine: disable preempt in stop machine path

On Wed, 16 Sep 2009 15:26:54 +0800
Xiao Guangrong <xiaoguangrong@...fujitsu.com> wrote:

> We can disable preempt in stop_cpu(), It can reduce the cpu's waiting time
> and make stop_machine path faster.
> 

"it can"?  But does it?  Are there any measurements or observations to
back this up?

The kstop threads are already created with create_rt_workqueue() (which
has super-secret undocumented semantics which I have cleverly
discovered mean "use SCHED_FIFO").

So we won't be getting preempted here anyway?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ