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 4F3A1C433F5 for ; Thu, 6 Oct 2022 11:08:34 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 8992D3CADFF for ; Thu, 6 Oct 2022 13:08:32 +0200 (CEST) Received: from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [IPv6:2001:4b78:1:20::6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 5FC0F3CABDE for ; Thu, 6 Oct 2022 13:07:57 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (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-6.smtp.seeweb.it (Postfix) with ESMTPS id 94F341400060 for ; Thu, 6 Oct 2022 13:07:56 +0200 (CEST) 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-out1.suse.de (Postfix) with ESMTPS id E9848219A6; Thu, 6 Oct 2022 11:07:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1665054475; 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=2rq38K52K4+ajJiwKSVsxavBIQFFTtY3wlr9tIKDXSs=; b=hZ1ePHGX3sbZTD+x2V9hFIrIyMfc8B8YxPRhR4DDYTuiFq+Z40+QAN7TKFB6L5XEk7zUwR NYMsVhwUJUMHecQjDnouKdXBHxLyjskI6HZoES/CRy91wMlfilwJnrass6qb4247qvquYG uSutkWWOR/adf7Km2lkX5auYamAUjzU= 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 BACF21376E; Thu, 6 Oct 2022 11:07:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id A7FsKwu3PmNmBQAAMHmgww (envelope-from ); Thu, 06 Oct 2022 11:07:55 +0000 To: ltp@lists.linux.it Date: Thu, 6 Oct 2022 13:06:38 +0200 Message-Id: <20221006110642.12410-1-andrea.cervesato@suse.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-6.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH v1 0/3] Add process_madvise support 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: , From: Andrea Cervesato via ltp Reply-To: Andrea Cervesato Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Added process_madvise testing suite to test MADV_COLD and MADV_PAGEOUT. It requires MADV_COLD and MADV_PAGEOUT definition inside LTP before push. Andrea Cervesato (3): Add process_madvise01 test Add process_madvise02 test Add process_madvise03 test testcases/kernel/syscalls/cma/.gitignore | 3 + testcases/kernel/syscalls/cma/cma.h | 101 ++++++++++++ .../kernel/syscalls/cma/process_madvise01.c | 153 ++++++++++++++++++ .../kernel/syscalls/cma/process_madvise02.c | 128 +++++++++++++++ .../kernel/syscalls/cma/process_madvise03.c | 139 ++++++++++++++++ 5 files changed, 524 insertions(+) create mode 100644 testcases/kernel/syscalls/cma/cma.h create mode 100644 testcases/kernel/syscalls/cma/process_madvise01.c create mode 100644 testcases/kernel/syscalls/cma/process_madvise02.c create mode 100644 testcases/kernel/syscalls/cma/process_madvise03.c -- 2.35.3 -- Mailing list info: https://lists.linux.it/listinfo/ltp