Page MenuHomeFreeBSD

netfront: purge page flipping support
ClosedPublic

Authored by liuw_liuw.name on Oct 14 2015, 2:41 PM.
Referenced Files
Unknown Object (File)
Dec 20 2023, 12:30 AM
Unknown Object (File)
Nov 24 2023, 11:18 PM
Unknown Object (File)
Nov 21 2023, 11:07 PM
Unknown Object (File)
Nov 11 2023, 3:52 PM
Unknown Object (File)
Nov 11 2023, 3:11 PM
Unknown Object (File)
Nov 11 2023, 2:19 PM
Unknown Object (File)
Nov 2 2023, 11:47 AM
Unknown Object (File)
Oct 10 2023, 1:16 PM
Subscribers

Details

Reviewers
royger
Group Reviewers
network
Summary

Currently neither Linux nor FreeBSD netback supports page flipping. NetBSD still supports that. It is not sure how many people actually use page flipping, but page flipping is supposed to be slower than copying nowadays. It will also shatter frontend / backend address space.

Overall this feature is more of a burden than a benefit.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

liuw_liuw.name retitled this revision from to netfront: purge page flipping support.
liuw_liuw.name updated this object.
liuw_liuw.name edited the test plan for this revision. (Show Details)
liuw_liuw.name added reviewers: royger, network.
liuw_liuw.name set the repository for this revision to rS FreeBSD src repository - subversion.
liuw_liuw.name added a project: network.
royger edited edge metadata.

LGTM, only some minor comments that I can amend (if you agree) while committing if you don't want to sent a new version.

sys/dev/xen/netfront/netfront.c
1245

Not your fault, but this message is extremely unhelpful.

1761

I would join this with the previous if, so it's

if (error =! 0 || feature_rx_copy == 0)
    return (EPROTONOSUPPORT);
This revision is now accepted and ready to land.Oct 15 2015, 7:20 AM
sys/dev/xen/netfront/netfront.c
1761

Do as you wish.