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-next>] [day] [month] [year] [list]
Message-ID: <AANLkTinbwZK5Tp6aI4ja38XaiiB5aIyECzHPdMpvkaIy@mail.gmail.com>
Date:	Fri, 14 May 2010 00:02:43 +0530
From:	ratheesh k <ratheesh.ksz@...il.com>
To:	linux-kernel@...r.kernel.org, linux-rt-users@...r.kernel.org
Subject: preempt_disable and sleep()

I am running RT linux .

/* code snippet */

preempt_disable()
...........
sleep(10);
'............
preempt_enable()


will this sleep() will cause reschedule ?.

if an interrupt comes  while premption is disabled , how it is handled ?.

Thanks,
Ratheesh
--
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