https://bugzilla.redhat.com/show_bug.cgi?id=2571782
Bug ID: 2571782
Summary: Review Request: <main paReview Request: reach - Cached
reachability query for DMA-BUF buffers on i915ckage
name here> - <short summary here>
Product: Fedora
Version: rawhide
Hardware: All
OS: Linux
Status: NEW
Component: Package Review
Severity: medium
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Target Milestone: ---
Classification: Fedora
Spec URL:
https://copr-be.cloud.fedoraproject.org/results/simoesctt/reach/srpm-builds/11307429/reach.spec
SRPM URL:
https://copr-be.cloud.fedoraproject.org/results/simoesctt/reach/srpm-builds/11307429/reach-0.1.0-1.src.rpm
Description:
reach answers one question cheaply: can this device reach this
chipmem buffer, and will the access be zero-copy or copied?
DRM_IOCTL_PRIME_FD_TO_HANDLE costs ~7 us per call on Skylake-U /
kernel 7.2.13 (median 7021-8390 ns, p99 ~22.9 us), warm or cold, and
returns a GEM handle without telling the caller whether the subsequent
access will be zero-copy or copied. reach caches the reachability
answer per (buffer, device) pair and records the cost class once, so a
hot path pays the import once (~7 us) instead of per call. Measured
cached query: ~43 ns (mean 40-43 ns over 1000 runs), ~175x cheaper
than the ioctl.
Not a restored kernel primitive: the import ioctl is the reachability
test. reach adds a cache, because the ioctl is expensive, and a
cost-class answer, because the ioctl cannot give one.
Fedora Account System Username: SimoesCTT
--
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2571782
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202571782%23c0
--
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://forge.fedoraproject.org/infra/tickets/issues/new