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)
Nov 14 2024, 10:48 PM
Unknown Object (File)
Oct 30 2024, 11:18 AM
Unknown Object (File)
Oct 21 2024, 4:29 AM
Unknown Object (File)
Sep 17 2024, 2:19 PM
Unknown Object (File)
Aug 29 2024, 12:15 AM
Unknown Object (File)
Jul 9 2024, 2:29 PM
Unknown Object (File)
Jun 23 2024, 11:13 AM
Unknown Object (File)
May 31 2024, 8:12 AM
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.