Tarantool development patches archive
 help / color / mirror / Atom feed
From: Sergey Kaplun via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Maxim Kokryashkin <max.kokryashkin@gmail.com>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH luajit] GC64: enable sysprof support
Date: Thu, 24 Nov 2022 10:43:09 +0300	[thread overview]
Message-ID: <Y38gjWDy758pLfmo@root> (raw)
In-Reply-To: <20221111101948.6773-1-m.kokryashkin@tarantool.org>

Hi, Maxim!
Thanks for the patch!

LGTM, with a single nit regarding the commit message.

On 11.11.22, Maxim Kokryashkin wrote:
> This patch reverts changes introduced via commit
> 71e7020637bb15024ceb7e93ce66b61870567339 ('GC64: disable
> sysprof support'), fixing the incorrect behavior in vm

Typo: s/in vm/in the VM/

> by adding the `LJ_HASSYSPROF` flag to the DynASM flags.

Nice catch!

> 
> Resolves tarantool/tarantool#7919
> Related to tarantool/tarantool#781
> ---
> Issue: https://github.com/tarantool/tarantool/issues/7919
> Branch: https://github.com/tarantool/luajit/tree/fckxorg/gh-7919-sysprof-gc64
> PR: https://github.com/tarantool/tarantool/pull/7922
> 
>  cmake/SetDynASMFlags.cmake                    |  5 +++
>  src/lj_arch.h                                 |  2 +-
>  src/lj_obj.h                                  |  2 +
>  src/vm_x64.dasc                               | 42 ++++++++++++++-----
>  src/vm_x86.dasc                               |  8 ++++
>  .../misclib-sysprof-capi.test.lua             |  7 ++--
>  .../misclib-sysprof-lapi.test.lua             |  5 +--
>  7 files changed, 52 insertions(+), 19 deletions(-)
> 
> diff --git a/cmake/SetDynASMFlags.cmake b/cmake/SetDynASMFlags.cmake

<snipped>

> diff --git a/src/lj_arch.h b/src/lj_arch.h

<snipped>

> diff --git a/src/lj_obj.h b/src/lj_obj.h

<snipped>

> diff --git a/src/vm_x64.dasc b/src/vm_x64.dasc

<snipped>

> diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc

<snipped>

> diff --git a/test/tarantool-tests/misclib-sysprof-capi.test.lua b/test/tarantool-tests/misclib-sysprof-capi.test.lua

<snipped>

> diff --git a/test/tarantool-tests/misclib-sysprof-lapi.test.lua b/test/tarantool-tests/misclib-sysprof-lapi.test.lua

<snipped>

> -- 
> 2.38.0
> 

-- 
Best regards,
Sergey Kaplun

  reply	other threads:[~2022-11-24  7:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-11 10:19 Maxim Kokryashkin via Tarantool-patches
2022-11-24  7:43 ` Sergey Kaplun via Tarantool-patches [this message]
2022-11-26  7:13   ` Maxim Kokryashkin via Tarantool-patches
2022-11-30 16:04 ` sergos via Tarantool-patches
2022-12-12  9:43 ` Igor Munkin via Tarantool-patches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y38gjWDy758pLfmo@root \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=max.kokryashkin@gmail.com \
    --cc=skaplun@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH luajit] GC64: enable sysprof support' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox