Cover Letter Detail
Show a cover letter.
GET /api/1.1/covers/2964/?format=api
{ "id": 2964, "url": "https://patchwork.libcamera.org/api/1.1/covers/2964/?format=api", "web_url": "https://patchwork.libcamera.org/cover/2964/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20200305203808.536050-1-niklas.soderlund@ragnatech.se>", "date": "2020-03-05T20:38:01", "name": "[libcamera-devel,v4,0/7] libcamera: V4L2BufferCache: Improve cache eviction strategy", "submitter": { "id": 5, "url": "https://patchwork.libcamera.org/api/1.1/people/5/?format=api", "name": "Niklas Söderlund", "email": "niklas.soderlund@ragnatech.se" }, "mbox": "https://patchwork.libcamera.org/cover/2964/mbox/", "series": [ { "id": 702, "url": "https://patchwork.libcamera.org/api/1.1/series/702/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=702", "date": "2020-03-05T20:38:01", "name": "libcamera: V4L2BufferCache: Improve cache eviction strategy", "version": 4, "mbox": "https://patchwork.libcamera.org/series/702/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/covers/2964/comments/", "headers": { "Return-Path": "<niklas.soderlund@ragnatech.se>", "Received": [ "from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net\n\t[195.74.38.227])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 8541160427\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 5 Mar 2020 21:38:20 +0100 (CET)", "from bismarck.berto.se (p4fca2392.dip0.t-ipconnect.de\n\t[79.202.35.146]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA\n\tid 3cc6dc84-5f21-11ea-9f85-005056917a89;\n\tThu, 05 Mar 2020 21:38:19 +0100 (CET)" ], "X-Halon-ID": "3cc6dc84-5f21-11ea-9f85-005056917a89", "Authorized-sender": "niklas@soderlund.pp.se", "From": "=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Thu, 5 Mar 2020 21:38:01 +0100", "Message-Id": "<20200305203808.536050-1-niklas.soderlund@ragnatech.se>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v4 0/7] libcamera: V4L2BufferCache:\n\tImprove cache eviction strategy", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "X-List-Received-Date": "Thu, 05 Mar 2020 20:38:20 -0000" }, "content": "Hello,\n\nThis series improves the function of the V4L2BufferCache and how\nit selects which cache entries to evict. This solves a real issue where\nif the cache is not pre-allocated the cache can perform suboptimally and\nnot utilise all the entries in the cache.\n\nPatch 1/7 fix an error in the test class BufferSource found as code in\nv1 of this series was based on it. 2/7 Extracts the BufferSource from\nthe camera buffer import test so it can be used in the new test\nfor the V4L2BufferCache. Patch 3/7, 4/7 and 5/7 fix small issues with\nthe V4L2BufferCache pointed out in review of v2. Patch 6/7 add tests\nwhich breaks without the improved cache eviction strategy introduced in\n7/7.\n\nNiklas Söderlund (7):\n test: camera: buffer_import: Fix error messages\n test: Extract BufferSource class out of camera tests to libtest\n libcamera: V4L2BufferCache: Mark Entry::operator==() as const\n libcamera: V4L2BufferCache: Use the entry reference\n libcamera: V4L2BufferCache: Check for hot hit first\n test: v4l2_videodevice: Add test for V4L2BufferCache\n libcamera: V4L2BufferCache: Improve cache eviction strategy\n\n src/libcamera/include/v4l2_videodevice.h | 9 +-\n src/libcamera/v4l2_videodevice.cpp | 31 ++--\n test/camera/buffer_import.cpp | 92 +---------\n test/libtest/buffer_source.cpp | 98 +++++++++++\n test/libtest/buffer_source.h | 32 ++++\n test/libtest/meson.build | 11 +-\n test/v4l2_videodevice/buffer_cache.cpp | 215 +++++++++++++++++++++++\n test/v4l2_videodevice/meson.build | 1 +\n 8 files changed, 379 insertions(+), 110 deletions(-)\n create mode 100644 test/libtest/buffer_source.cpp\n create mode 100644 test/libtest/buffer_source.h\n create mode 100644 test/v4l2_videodevice/buffer_cache.cpp" }