Page MenuHomeFreeBSD

vm_map_protect(9) fails to document KERN_RESOURCE_SHORTAGE return value.
ClosedPublic

Authored by dougm on Jun 25 2019, 6:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 3, 7:42 PM
Unknown Object (File)
Sat, Jun 29, 5:24 AM
Unknown Object (File)
Sun, Jun 16, 11:35 PM
Unknown Object (File)
Jun 5 2024, 8:10 PM
Unknown Object (File)
May 27 2024, 11:50 PM
Unknown Object (File)
May 24 2024, 9:28 PM
Unknown Object (File)
May 6 2024, 9:20 AM
Unknown Object (File)
May 1 2024, 6:45 PM
Subscribers

Details

Summary

This patch is a meager attempt to correct that.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

vm_map_protect.9
99 ↗(On Diff #58982)

The range isn't being allocated. It is copy-on-write, and it is transitioning from read-only to read/write.

vm_map_protect.9
100 ↗(On Diff #58983)

I think it is somewhat too cryptic. 'If copy-on-write mapping is transitioned from ro to rw, too little swap space is available for backing the copied pages'.

Accept Kostik's suggestion.

markj added inline comments.
vm_map_protect.9
99 ↗(On Diff #59006)

"If a copy-on-write mapping is transitioned from read-only to read-write..."

This revision is now accepted and ready to land.Jun 25 2019, 4:41 PM

With Mark' note, accepted.

Accept reviewer suggestion.

This revision now requires review to proceed.Jun 25 2019, 4:47 PM
vm_map_protect.9
99 ↗(On Diff #59016)

Still missing an article: "If a copy-on-write..."

This revision is now accepted and ready to land.Jun 25 2019, 5:15 PM