From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,427a973982510d2,start X-Google-Attributes: gid10d4db,public From: mdw@CS.Cornell.EDU (Matt Welsh) Subject: `bigphysarea' kernel memory patch Date: 1996/06/01 Message-ID: #1/1 X-Deja-AN: 158027197 x-original-date: 1 Jun 1996 01:08:48 -0400 followup-to: comp.os.linux.development.system organization: Cornell CS Robotics and Vision Laboratory, Ithaca, NY 14850 keywords: kernel memory bigphysarea dma newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- I've released a kernel patch to provide an interface which allows device drivers and modules to allocate very large regions of pinned physical memory, e.g., for large DMA buffers. Such regions are required for drivers which require contiguous physical memory areas larger than that provided by kmalloc() or other means. Examples include the Matrox Meteor framegrabber and drivers for various network interfaces. The patch works by allowing the kernel to reserve a large portion of physical memory at boot-time for this purpose, portions of which can be allocated and freed by drivers. If and when the kernel VM system allows large blocks to be dynamically allocated, the driver interface for 'bigphysarea' will remain the same. I realize that this is an imperfect solution to the problem of large DMA regions; however, it does provide a generic interface the back-end to which can be fixed at some later date. Pick it up from ftp.cs.cornell.edu:/pub/mdw/bigphysarea-1.3.71.tar.gz. I've tested on 1.3.71 kernels but it should work with earlier and later versions. Happy hacking, mdw - -- Jesus saves: -4 versus rods, staves, and wands. -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMbB3EIQRll5MupLRAQHiMwP/e36+UVzIvscIiM2QCzlNFzDStuCZxdf2 xKz/uFmcTtiDSIwseaqNVViuMBEoC0HMRsLFAEiaJR8ijw75Q73VrzVgfuAkWJO3 lWqUt+quLN+Km3lmEeqFfZuEdo+/NbWP5axCoLqutKBulkOpRzB7qc6AwTRSwEie ttKyXtLBdDg= =0zcF -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.