From: Matthew Wilcox <willy@debian.org>
To: linux-kernel@vger.kernel.org
Subject: Dead & Dying interfaces
Date: Fri, 15 Nov 2002 18:47:25 +0000 [thread overview]
Message-ID: <20021115184725.H20070@parcelfarce.linux.theplanet.co.uk> (raw)
We forgot to remove a lot of crap interfaces during 2.5 development.
Let's start a list now so we don't forget during 2.7.
This list is a combination of interfaces which have gone during 2.5 and
interfaces that should go during 2.7. Think of it as a `updating your
driver/filesystem to sane code' guide.
sleep_on, sleep_on_timeout, interruptible_sleep_on,
interruptible_sleep_on_timeout
-> use wait_event interfaces
flush_page_to_ram
-> Documentation/cachetlb.txt
cli, sti, save_flags
-> Documentation/cli-sti-removal.txt
pcibios_*
-> Documentation/pci.txt
virt_to_bus, bus_to_virt
-> Documentation/DMA-mapping.txt
check_region
-> Just use request_region and handle the failure
kmap
-> Use kmap_atomic instead
task queues
-> work queues
lock_kernel
-> spinlocks
smp_processor_id
-> get_cpu
--
Revolutions do not require corporate support.
next reply other threads:[~2002-11-15 18:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-15 18:47 Matthew Wilcox [this message]
2002-11-15 19:00 ` Dead & Dying interfaces William Lee Irwin III
2002-11-16 2:49 ` Alan Cox
2002-11-17 0:41 ` Greg KH
2002-11-17 1:43 ` Alan Cox
2002-11-18 17:55 ` Dave Jones
2002-11-19 19:01 ` Adrian Bunk
2002-12-05 4:25 ` William Lee Irwin III
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021115184725.H20070@parcelfarce.linux.theplanet.co.uk \
--to=willy@debian.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox