Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760636AbXEOIlJ (ORCPT ); Tue, 15 May 2007 04:41:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757531AbXEOIkz (ORCPT ); Tue, 15 May 2007 04:40:55 -0400 Received: from ug-out-1314.google.com ([66.249.92.171]:9267 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757530AbXEOIky (ORCPT ); Tue, 15 May 2007 04:40:54 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HwExosI5ruGdbOjQCey1OWzGJyxU9B6++pQQdsP9oIAgCns7xm8NT79RhCZuBGkDElXcDADbfyLVtDM0pYUF5RCuBLWvUZax1cArOZeEW+lU5/lGbL402GrP1VUo48oTXVV+odH9H3KxTmrhvXU25j5VSz1sFSwLxUxNXJlvZhY= Message-ID: <9f1dc2cf0705150140k1fef87acvd774c7e171e4a660@mail.gmail.com> Date: Tue, 15 May 2007 14:10:52 +0530 From: "Learning Linux" To: "Dong Feng" Subject: Re: Why can't we sleep in an ISR? Cc: "pradeep singh" <2500.pradeep@gmail.com>, "Bahadir Balban" , kernelnewbies@nl.linux.org, linux-newbie@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9f1dc2cf0705132337k13aa3ccesc575d4550492a24e@mail.gmail.com> <366312910705140010m78b215a2t1753445e81120288@mail.gmail.com> <9f1dc2cf0705140016w6d8f44f9wec7586e7879af873@mail.gmail.com> <7ac1e90c0705140824i54e1c43ela3ab3d89827c0339@mail.gmail.com> <366312910705142217geba69dbm98a6c0bf2aabb937@mail.gmail.com> <366312910705150010p623f9732mc498f457245d23a1@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 625 Lines: 12 > The interrupt handler's execution time will definitely defer the > execution of the process, but I think it does not steal the process's > time slice (the time_slice field not subtracted). It will definitely be substracted from the process's time slice. Because the timeslice is substracted in timer interrupt, and does not differenciate if the process is executing ISR or not. - 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/