Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265337AbTGIGou (ORCPT ); Wed, 9 Jul 2003 02:44:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265332AbTGIGou (ORCPT ); Wed, 9 Jul 2003 02:44:50 -0400 Received: from [66.212.224.118] ([66.212.224.118]:3844 "EHLO hemi.commfireservices.com") by vger.kernel.org with ESMTP id S265337AbTGIGot (ORCPT ); Wed, 9 Jul 2003 02:44:49 -0400 Date: Wed, 9 Jul 2003 02:48:11 -0400 (EDT) From: Zwane Mwaikambo X-X-Sender: zwane@montezuma.mastecende.com To: =?koi8-r?Q?=22?=Andrey Borzenkov=?koi8-r?Q?=22=20?= Cc: linux-kernel@vger.kernel.org Subject: Re: printk in atomic context In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 558 Lines: 17 On Wed, 9 Jul 2003, [koi8-r] "Andrey Borzenkov[koi8-r] " wrote: > > Is it possible (safe) to use printk in atomic context, i.e. under > spinlock or inside of preemption-disabled region? > > The same question about 2.4 (here I guess only spinlock?) Yes you can, it's rather robust. -- function.linuxpower.ca - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/