From: mdw@CS.Cornell.EDU (Matt Welsh)
Subject: `bigphysarea' kernel memory patch
Date: 1996/06/01 [thread overview]
Message-ID: <cola-liw-833648447-19929-0@liw.clinet.fi> (raw)
-----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.
reply other threads:[~1996-06-01 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox