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: <200904140150.10790.oliver@neukum.org>
Date:	Tue, 14 Apr 2009 01:50:10 +0200
From:	Oliver Neukum <oliver@...kum.org>
To:	Chuck Ebbert <cebbert@...hat.com>
Cc:	linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: Scheduling while atomic in tty code with cdc-acm driver, kernel 2.6.29.1

Am Dienstag 14 April 2009 01:36:33 schrieb Chuck Ebbert:
> BUG: sleeping function called from invalid context at kernel/mutex.c:88
> in_atomic(): 1, irqs_disabled(): 0, pid: 0, name: swapper
> Pid: 0, comm: swapper Not tainted 2.6.29.1-54.fc11.x86_64 #1

Is this specific to 2.6.29.1? It looks like setting low_latency, as cdc-acm,
does for legacy reasons, is harmful now. Please remove these lines:


	/* force low_latency on so that our tty_push actually forces the data 
through,
	   otherwise it is scheduled, and with high data rates data can get lost. */
	tty->low_latency = 1;

	HTH
		Oliver

--
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