From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 27 Jun 2001 14:43:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 27 Jun 2001 14:42:55 -0400 Received: from cp912944-a.mtgmry1.md.home.com ([24.18.149.178]:51333 "EHLO zalem.puupuu.org") by vger.kernel.org with ESMTP id ; Wed, 27 Jun 2001 14:42:44 -0400 Date: Wed, 27 Jun 2001 14:42:39 -0400 From: Olivier Galibert To: "Hack inc ." Subject: Allocating non-contigious memory Message-ID: <20010627144239.A2265@zalem.puupuu.org> Mail-Followup-To: "Hack inc ." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org What is the Right Way[tm] as of 2.4.6 to allocate 16Mb as 4K pages and get the pci bus address for each page? Bonus points is they're virtually contiguous, but that's not necessary. IIRC, the old vmalloc-then-walk-the-pagetables trick is considered out-of-bounds nowadays. OG.