Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148066591
D8502.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
679 B
Referenced Files
None
Subscribers
None
D8502.diff
View Options
Index: head/sys/arm/arm/pmap-v6.c
===================================================================
--- head/sys/arm/arm/pmap-v6.c
+++ head/sys/arm/arm/pmap-v6.c
@@ -2739,21 +2739,15 @@
/*
* Is given page managed?
*/
-static __inline boolean_t
+static __inline bool
is_managed(vm_paddr_t pa)
{
- vm_offset_t pgnum;
vm_page_t m;
- pgnum = atop(pa);
- if (pgnum >= first_page) {
- m = PHYS_TO_VM_PAGE(pa);
- if (m == NULL)
- return (FALSE);
- if ((m->oflags & VPO_UNMANAGED) == 0)
- return (TRUE);
- }
- return (FALSE);
+ m = PHYS_TO_VM_PAGE(pa);
+ if (m == NULL)
+ return (false);
+ return ((m->oflags & VPO_UNMANAGED) == 0);
}
static __inline boolean_t
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 16, 12:53 PM (5 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29764046
Default Alt Text
D8502.diff (679 B)
Attached To
Mode
D8502: ARMv6 pmap - fix the way how a decision is made that a page is under pv management
Attached
Detach File
Event Timeline
Log In to Comment