Actions
Bug #536
closedhat_getkpfnum needs to be removed
Start date:
2010-12-17
Due date:
% Done:
100%
Estimated time:
Difficulty:
Tags:
Gerrit CR:
External Bug:
Description
From the code:
39 * PSARC 2004/405 made hat_getkpfnum(9F) obsolete. As part of the
40 * obsolecense, the original documented behavior will begin to be
41 * enforced in the future; namely, hat_getkpfnum(9F) may only
42 * be called with device-mapped memory virtual addresses. Since
43 * changing hat_getkpfnum(9F) to return PFN_INVALID on kernel memory
44 * would break a lot of modules without any warning, we've implemented
45 * the following mechanism as a stop-gap. In a future release, this
46 * can all be ripped out and hat_getkpfnum(9F) changed to return
47 * PFN_INVALID if it isn't called with a device-mapped memory address.
This has been this way for a long time now, and illumos is a logical time to go ahead and yank any references to this legacy API. In particular, this API has never been supported for 64-bit mode kernels.
Related issues
Updated by Garrett D'Amore almost 13 years ago
- Category set to kernel
- Status changed from New to Resolved
- Assignee set to Garrett D'Amore
- % Done changed from 0 to 100
Fixed in:
changeset: 13267:c0c901825468
user: Garrett D'Amore <garrett@nexenta.com>
date: Wed Jan 19 08:06:56 2011 -0800
description:
536 hat_getkpfnum needs to be removed
Reviewed by: gwr@nexenta.com
Reviewed by: trisk@nexenta.com
Updated by Joshua M. Clulow over 1 year ago
- Related to Bug #14881: hat_getkpfnum is referenced but not documented added
Actions