From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 13733C433F5 for ; Fri, 7 Jan 2022 21:22:06 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id E62A73C9047 for ; Fri, 7 Jan 2022 22:22:04 +0100 (CET) Received: from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it [IPv6:2001:4b78:1:20::4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 1770B3C8850 for ; Fri, 7 Jan 2022 22:21:20 +0100 (CET) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-4.smtp.seeweb.it (Postfix) with ESMTPS id 14C7C100052E for ; Fri, 7 Jan 2022 22:21:19 +0100 (CET) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 1B9001F3A7; Fri, 7 Jan 2022 21:21:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1641590479; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Xg+NuFkLlQKfZG78pOH888uFMa1sFoWEZ5iNjDlXIGQ=; b=iuoP1Q6hdwqgAsqtHyDDOiVVbSmcgiut9cjF5SiR2q4JURTrStEgradvIOJWsDCaiqw3Bq IISVe3oF13aRXJV/PqxGcmHrhHQ7M9BGVQGj0kdrPK+CM2oaBmm0ihtiHFrixtxyymFF8/ ULOluj2CUptsO9He2NlRoLqncRkeWI8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1641590479; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Xg+NuFkLlQKfZG78pOH888uFMa1sFoWEZ5iNjDlXIGQ=; b=KNM5E7szd/znQLXRV6NGWxkOm/0qp9mEz+C4w5wJ2iOCH9GVMoWkjgEnm8R7yHxyZYcDLC cW8kit0z4RPJXwBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id E241413D44; Fri, 7 Jan 2022 21:21:18 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ruOGNM6u2GEHFwAAMHmgww (envelope-from ); Fri, 07 Jan 2022 21:21:18 +0000 From: Andrea Cervesato To: ltp@lists.linux.it Date: Fri, 7 Jan 2022 22:20:47 +0100 Message-Id: <20220107212058.19768-1-andrea.cervesato@suse.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-4.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH v4 00/11] watchqueue testing suite X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" This patch-set add a new testing suite for the watch queue kernel feature described in https://www.kernel.org/doc/html/latest/watch_queue.html Andrea Cervesato (11): Add KEYCTL_WATCH_KEY to lapi/keyctl.h fallback Add lapi/watch_queue.h header fallback Add wqueue01 test Add wqueue02 test Add wqueue03 test Add wqueue04 test Add wqueue05 test Add wqueue06 test Add wqueue07 test Add wqueue08 test Add wqueue09 test include/lapi/keyctl.h | 4 + include/lapi/watch_queue.h | 112 +++++++++++++++++++ runtest/watchqueue | 9 ++ scenario_groups/default | 1 + testcases/kernel/Makefile | 1 + testcases/kernel/watchqueue/.gitignore | 9 ++ testcases/kernel/watchqueue/Makefile | 8 ++ testcases/kernel/watchqueue/common.h | 149 +++++++++++++++++++++++++ testcases/kernel/watchqueue/wqueue01.c | 40 +++++++ testcases/kernel/watchqueue/wqueue02.c | 40 +++++++ testcases/kernel/watchqueue/wqueue03.c | 40 +++++++ testcases/kernel/watchqueue/wqueue04.c | 40 +++++++ testcases/kernel/watchqueue/wqueue05.c | 40 +++++++ testcases/kernel/watchqueue/wqueue06.c | 39 +++++++ testcases/kernel/watchqueue/wqueue07.c | 40 +++++++ testcases/kernel/watchqueue/wqueue08.c | 44 ++++++++ testcases/kernel/watchqueue/wqueue09.c | 52 +++++++++ 17 files changed, 668 insertions(+) create mode 100644 include/lapi/watch_queue.h create mode 100644 runtest/watchqueue create mode 100644 testcases/kernel/watchqueue/.gitignore create mode 100644 testcases/kernel/watchqueue/Makefile create mode 100644 testcases/kernel/watchqueue/common.h create mode 100644 testcases/kernel/watchqueue/wqueue01.c create mode 100644 testcases/kernel/watchqueue/wqueue02.c create mode 100644 testcases/kernel/watchqueue/wqueue03.c create mode 100644 testcases/kernel/watchqueue/wqueue04.c create mode 100644 testcases/kernel/watchqueue/wqueue05.c create mode 100644 testcases/kernel/watchqueue/wqueue06.c create mode 100644 testcases/kernel/watchqueue/wqueue07.c create mode 100644 testcases/kernel/watchqueue/wqueue08.c create mode 100644 testcases/kernel/watchqueue/wqueue09.c -- 2.34.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp