From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id F1B341F54E; Sat, 20 Aug 2022 21:35:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1661031323; bh=vo17JVK5R2DKd3vXQaci1zZi6Fr2sO+hjoW/Z2wcJvM=; h=From:To:Cc:Subject:Date:From; b=OqKpq3hQhjT6bPl9lr9fNcm86Gt9v2JVEsM3+vQrQ4bYRm3KdjQvewmDQj7Cy95q8 cX5+8jBfHvgAMeiteRnFRNdLm7AT7xFphyFT40gfxyWJsSks1Sdm97/TJB42gFpw0/ zsUQrKafqh+VeZ4wSgutrZxatsRRbZo6ghgnllGU= From: Eric Wong To: Cc: Sam Saffron Subject: [PATCH 0/3] Ruby 3.x support Date: Sat, 20 Aug 2022 21:35:20 +0000 Message-Id: <20220820213523.18504-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 1st patch is a cleanup patch I noticed along the way, 2/3 fixes things for Ruby 3.0.x, and 3/3 disables a test for Ruby 3.1. 3.1 support of heap page bodies will require wrapping mmap, which may happen at some point Haven't tested on current ruby.git nor 3.2 previews, nor anything aside from x86-64. Eric Wong (3): constify arg for totals_add_rcu support Ruby 3.0.x disable HeapPageBody count test for Ruby 3.1 ext/mwrap/extconf.rb | 7 +++++++ ext/mwrap/mwrap.c | 27 ++++++++++++++++++++++----- test/test_mwrap.rb | 29 ++++++++++++++++++----------- 3 files changed, 47 insertions(+), 16 deletions(-)