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:	Fri, 23 Mar 2007 22:55:19 +0200
From:	Yan Burman <burman.yan@...il.com>
To:	Dmitry Torokhov <dmitry.torokhov@...il.com>
CC:	linux-kernel@...r.kernel.org, khali@...ux-fr.org
Subject: Re: [PATCH 2.6.21-rc4] hwmon: HP Mobile Data Protection System 3D
 ACPI driver

Dmitry Torokhov wrote:
> Hi Yan,
>
> On 3/23/07, Yan Burman <burman.yan@...il.com> wrote:
>> +
>> +static unsigned int input_3d;
>> +module_param(input_3d, bool, S_IRUGO);
>> +MODULE_PARM_DESC(input_3d, "Operate as a 3D joystick instead of 2D");
>
> Why do you need that? Just have the driver always report all 3 events
> and have applications decide if they want to use ABS_Z events...
>
Getting the coordinates goes through ACPI, so it eats up CPU. I think I 
remember seeing
up to 15-16% CPU usage with all 3 events.
That is why you probably want to disable it in most cases.
-
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