Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/831205/?format=api
{ "id": 831205, "url": "http://patchwork.ozlabs.org/api/1.2/patches/831205/?format=api", "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/1509101470-7881-6-git-send-email-Dave.Martin@arm.com/", "project": { "id": 41, "url": "http://patchwork.ozlabs.org/api/1.2/projects/41/?format=api", "name": "GNU C Library", "link_name": "glibc", "list_id": "libc-alpha.sourceware.org", "list_email": "libc-alpha@sourceware.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1509101470-7881-6-git-send-email-Dave.Martin@arm.com>", "list_archive_url": null, "date": "2017-10-27T10:50:47", "name": "[v4,05/28] arm64: fpsimd: Simplify uses of {set,clear}_ti_thread_flag()", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "3a89e912d42d5bcce4d25c798b8c566d1d8537ee", "submitter": { "id": 26612, "url": "http://patchwork.ozlabs.org/api/1.2/people/26612/?format=api", "name": "Dave Martin", "email": "Dave.Martin@arm.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/1509101470-7881-6-git-send-email-Dave.Martin@arm.com/mbox/", "series": [ { "id": 10555, "url": "http://patchwork.ozlabs.org/api/1.2/series/10555/?format=api", "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=10555", "date": "2017-10-27T10:50:42", "name": "ARM Scalable Vector Extension (SVE)", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/10555/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/831205/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/831205/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<libc-alpha-return-86447-incoming=patchwork.ozlabs.org@sourceware.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "mailing list libc-alpha@sourceware.org" ], "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-86447-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"XAcWDuYC\"; dkim-atps=neutral", "sourceware.org; auth=none" ], "Received": [ "from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3yNggb27hjz9t34\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 27 Oct 2017 21:52:27 +1100 (AEDT)", "(qmail 116178 invoked by alias); 27 Oct 2017 10:51:31 -0000", "(qmail 116141 invoked by uid 89); 27 Oct 2017 10:51:31 -0000" ], "DomainKey-Signature": "a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-type:content-transfer-encoding;\n\tq=dns; s=default; b=KUvTOtjwD2XZw3fYJFBdT+njViTfbbHOq0gXHt2m5Lp\n\tLWf1CPQb4xr3MFyNzTzW9alzxrAereAzlNJQCem/mBguvFJgQUPKVVnU/r97oBE6\n\toX3dvllVMERUC08jIXMHKt1FUbK986So70c+WWqKYONMqnj1y6c0zZhmBDQqyXoI\n\t=", "DKIM-Signature": "v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-type:content-transfer-encoding;\n\ts=default; bh=fbEz4iCnJ1z96awSePrYP6KOe1I=; b=XAcWDuYCGsNRUGqHG\n\tMyPKGZh1bm4267cCZAGaWRS4Hlu0A+dj/s3oQR6ZAG3JkOHhBhReYqxwiEIN4m8X\n\taxLXxoDR9jm1aQLG6RuF0S6oqSm57kSYE4dUSce7alqSsCS3Veh+G6l6hlwViD7r\n\t9eWS2bBLMVoAZyUD72z5wEnmdQ=", "Mailing-List": "contact libc-alpha-help@sourceware.org; run by ezmlm", "Precedence": "bulk", "List-Id": "<libc-alpha.sourceware.org>", "List-Unsubscribe": "<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>", "List-Subscribe": "<mailto:libc-alpha-subscribe@sourceware.org>", "List-Archive": "<http://sourceware.org/ml/libc-alpha/>", "List-Post": "<mailto:libc-alpha@sourceware.org>", "List-Help": "<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>", "Sender": "libc-alpha-owner@sourceware.org", "X-Virus-Found": "No", "X-Spam-SWARE-Status": "No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0,\n\tGIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=", "X-HELO": "foss.arm.com", "From": "Dave Martin <Dave.Martin@arm.com>", "To": "linux-arm-kernel@lists.infradead.org", "Cc": "Catalin Marinas <catalin.marinas@arm.com>, Will Deacon\n\t<will.deacon@arm.com>, \tArd Biesheuvel <ard.biesheuvel@linaro.org>,\n\t=?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= <alex.bennee@linaro.org>,\n\tSzabolcs Nagy <szabolcs.nagy@arm.com>, Okamoto Takayuki\n\t<tokamoto@jp.fujitsu.com>, \tkvmarm@lists.cs.columbia.edu,\n\tlibc-alpha@sourceware.org, \tlinux-arch@vger.kernel.org", "Subject": "[PATCH v4 05/28] arm64: fpsimd: Simplify uses of {set,\n\tclear}_ti_thread_flag()", "Date": "Fri, 27 Oct 2017 11:50:47 +0100", "Message-Id": "<1509101470-7881-6-git-send-email-Dave.Martin@arm.com>", "In-Reply-To": "<1509101470-7881-1-git-send-email-Dave.Martin@arm.com>", "References": "<1509101470-7881-1-git-send-email-Dave.Martin@arm.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit" }, "content": "The existing FPSIMD context switch code contains a couple of\ninstances of {set,clear}_ti_thread(task_thread_info(task)). Since\nthere are thread flag manipulators that operate directly on\ntask_struct, this verbosity isn't strictly needed.\n\nFor consistency, this patch simplifies the affected calls. This\nshould have no impact on behaviour.\n\nSigned-off-by: Dave Martin <Dave.Martin@arm.com>\nReviewed-by: Alex Bennée <alex.bennee@linaro.org>\nReviewed-by: Catalin Marinas <catalin.marinas@arm.com>\nAcked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\n---\n arch/arm64/kernel/fpsimd.c | 6 ++----\n 1 file changed, 2 insertions(+), 4 deletions(-)", "diff": "diff --git a/arch/arm64/kernel/fpsimd.c b/arch/arm64/kernel/fpsimd.c\nindex 5d547de..7a865c8 100644\n--- a/arch/arm64/kernel/fpsimd.c\n+++ b/arch/arm64/kernel/fpsimd.c\n@@ -159,11 +159,9 @@ void fpsimd_thread_switch(struct task_struct *next)\n \n \t\tif (__this_cpu_read(fpsimd_last_state) == st\n \t\t && st->cpu == smp_processor_id())\n-\t\t\tclear_ti_thread_flag(task_thread_info(next),\n-\t\t\t\t\t TIF_FOREIGN_FPSTATE);\n+\t\t\tclear_tsk_thread_flag(next, TIF_FOREIGN_FPSTATE);\n \t\telse\n-\t\t\tset_ti_thread_flag(task_thread_info(next),\n-\t\t\t\t\t TIF_FOREIGN_FPSTATE);\n+\t\t\tset_tsk_thread_flag(next, TIF_FOREIGN_FPSTATE);\n \t}\n }\n \n", "prefixes": [ "v4", "05/28" ] }