Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750777AbVJJNNi (ORCPT ); Mon, 10 Oct 2005 09:13:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750779AbVJJNNi (ORCPT ); Mon, 10 Oct 2005 09:13:38 -0400 Received: from qproxy.gmail.com ([72.14.204.198]:65128 "EHLO qproxy.gmail.com") by vger.kernel.org with ESMTP id S1750777AbVJJNNh convert rfc822-to-8bit (ORCPT ); Mon, 10 Oct 2005 09:13:37 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f/jwn4SdNQhP0Fe4+Q6FwhtZN2v7Bb0r+yDH0adG95PWvxjCNQppsGPia4WMjARoxM8NGzuICqUVNSrAwE6xfzfqikvQKfF3NQGvEFMCSHQkA/wjEFeJItaCpcV2xS3Ds1y6vfnDgh1Rbr8cDNQ7EpN94z3CYA5xjj6FREybigY= Message-ID: Date: Mon, 10 Oct 2005 18:43:36 +0530 From: Vivek Kutal To: Fawad Lateef Subject: Re: Need for SHIFT and MASK Cc: Ingo Oeser , linux-kernel@vger.kernel.org In-Reply-To: <1e62d1370510091721m530327a9v546da9115a861bdf@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline References: <200510091423.24660.ioe-lkml@rameria.de> <1e62d1370510091721m530327a9v546da9115a861bdf@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 803 Lines: 22 > And as far as SHIFT, MASK, SIZE macros are concerned they are used in > creating Page Translation Tables and also used to get the translation > from linear to physical how are these macros used to create page translation tables (functions like pgd_alloc(), pmd_alloc() & pte_alloc() are used for this purpose)and the translation (virtual/linear to physical)is done by the processor and not by the OS. -- Thanks and Regards Vivek Kutal http://vivekkutal.blogspot.com "Live as if you were to die tomorrow. Learn as if you were to live forever." - 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/