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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 14 Oct 2009 11:51:43 +0400
From:	Cyrill Gorcunov <gorcunov@...nvz.org>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	x86@...nel.org, yinghai@...nel.org, macro@...ux-mips.org,
	linux-kernel@...r.kernel.org
Subject: Re: [patch 3/3] x86,apic: limit apic dumping, introduce show_lapic 
	setup option

On 10/14/09, Ingo Molnar <mingo@...e.hu> wrote:
>
> * Cyrill Gorcunov <gorcunov@...nvz.org> wrote:
>
>> In case if a system has a large number of cpus printing apics
>> contents may consume a long time period.
>>
>> We limit such an output by 1 apic by default. But to have an
>> ability to see all apics or some part of them we introduce
>> "show_lapic" setup option which allow us to limit/unlimit
>> the number of APICs being dumped.
>>
>> Example: apic=debug show_lapic=5, or apic=debug show_lapic=all
>>
>> Also move apic_verbosity checking upper that way so helper routines
>> do not need to inspect it at all.
>>
>> Suggested-by: Yinghai Lu <yinghai@...nel.org>
>> Signed-off-by: Cyrill Gorcunov <gorcunov@...nvz.org>
>> ---
>>  arch/x86/kernel/apic/io_apic.c |   47
>> +++++++++++++++++++++++++++--------------
>>  1 file changed, 32 insertions(+), 15 deletions(-)
>
>> +__setup("show_lapic=", setup_show_lapic);
>
> Note: new __setup() functions need an entry in
> Documentation/kernel-parameters.txt as well.
>
> 	Ingo
>
Will update today evening. Thanks!
--
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