Add basic tracepoints for {alloc, evict, free}_inode, setattr and
fallocate. These can help users to debug hugetlbfs more conveniently.
Signed-off-by: Hongbo Li
---
MAINTAINERS | 1 +
include/trace/events/hugetlbfs.h | 156 +++
2 files changed
mode 0100644 size 2097152 nlink 0 seals 1 blocks 0
-0 [007] ..s1. 110.059441: hugetlbfs_free_inode: dev 0,51 ino
24621 mode 0100644 size 2097152 nlink 0 seals 1 blocks 0
```
Signed-off-by: Hongbo Li
---
fs/hugetlbfs/inode.c | 17 +++--
1 file changed, 15 insertions(+), 2
separated.
v1 can be found at:
https://lore.kernel.org/linux-mm/20240701194906.3a9b6...@gandalf.local.home/T/
Changes since v1:
- Decrease the parameters for setattr tracer suggested by Steve and Mathieu.
- Replace current_user_ns() with init_user_ns when translate uid/gid.
Hongbo Li (2
On 2024/7/5 7:34, Dave Chinner wrote:
On Thu, Jul 04, 2024 at 10:13:22AM -0400, Steven Rostedt wrote:
On Thu, 4 Jul 2024 22:56:29 +1000
Dave Chinner wrote:
Having to do this is additional work when writing use-once scripts
that get thrown away when the tracepoint output analysis is done
On 2024/7/4 11:37, Matthew Wilcox wrote:
On Thu, Jul 04, 2024 at 11:07:03AM +0800, Hongbo Li wrote:
+ TP_printk("dev = (%d,%d), ino = %lu, dir = %lu, mode = 0%o",
+ MAJOR(__entry->dev), MINOR(__entry->dev),
+ (unsigned lo
= 2097152, i_nlink = 0, seals = 1,
i_blocks = 0
```
Signed-off-by: Hongbo Li
---
fs/hugetlbfs/inode.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
index 412f295acebe..2e826bbcb6ed 100644
--- a/fs/hugetlbfs/inode.c
and Mathieu.
- Replace current_user_ns() with init_user_ns when translate uid/gid.
Hongbo Li (2):
hugetlbfs: support tracepoint
hugetlbfs: use tracepoints in hugetlbfs functions.
MAINTAINERS | 1 +
fs/hugetlbfs/inode.c | 17 +++-
include/trace/events
Add basic tracepoints for {alloc, evict, free}_inode, setattr and
fallocate. These can help users to debug hugetlbfs more conveniently.
Signed-off-by: Hongbo Li
---
MAINTAINERS | 1 +
include/trace/events/hugetlbfs.h | 160 +++
2 files changed
On 2024/7/2 21:30, Mathieu Desnoyers wrote:
On 2024-07-02 07:55, Hongbo Li wrote:
On 2024/7/2 7:49, Steven Rostedt wrote:
On Wed, 12 Jun 2024 09:11:56 +0800
Hongbo Li wrote:
@@ -934,6 +943,12 @@ static int hugetlbfs_setattr(struct mnt_idmap
*idmap,
if (error)
return
On 2024/7/2 7:49, Steven Rostedt wrote:
On Wed, 12 Jun 2024 09:11:56 +0800
Hongbo Li wrote:
@@ -934,6 +943,12 @@ static int hugetlbfs_setattr(struct mnt_idmap *idmap,
if (error)
return error;
+ trace_hugetlbfs_setattr(inode, dentry->d_name.len, den
Just a friendly ping to the patch :)
https://lore.kernel.org/all/20240612011156.2891254-1-lihongb...@huawei.com/
Thanks,
Hongbo
On 2024/6/12 9:11, Hongbo Li wrote:
Here we use the hugetlbfs tracepoint to track the call stack. And
the output in trace is as follows:
```
touch-5307[004
Add basic tracepoints for {alloc, evict, free}_inode, setattr and
fallocate. These can help users to debug hugetlbfs more conveniently.
Signed-off-by: Hongbo Li
---
MAINTAINERS | 1 +
include/trace/events/hugetlbfs.h | 164 +++
2 files changed
= 21380, i_mode = 0100644, i_size = 2097152, i_nlink = 0, seals = 1,
i_blocks = 0
```
Signed-off-by: Hongbo Li
---
fs/hugetlbfs/inode.c | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
index 412f295acebe
Here we add some basic tracepoints for debugging hugetlbfs: {alloc, free,
evict}_inode, setattr and fallocate.
Hongbo Li (2):
hugetlbfs: support tracepoint
hugetlbfs: use tracepoints in hugetlbfs functions.
MAINTAINERS | 1 +
fs/hugetlbfs/inode.c | 21
This patch adds support for ima verification for rsa with
pss encoding.
And a rsa-pss patch for ima-evm-utils has been sent.
Signed-off-by: Hongbo Li
---
security/integrity/digsig_asymmetric.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/security
This patch adds the test vector for rsa with pss encoding.
Signed-off-by: Hongbo Li
---
crypto/testmgr.c | 7 +
crypto/testmgr.h | 90
2 files changed, 97 insertions(+)
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 10c5b3b
the verification according to RFC8017 section 8.1.2 and 9.1.2
Signed-off-by: Hongbo Li
---
crypto/Makefile | 7 +-
crypto/rsa-psspad.c | 398 ++
crypto/rsa.c | 14 +-
crypto/rsa_helper.c | 127 ++
crypto
This patch make x509 support rsa with pss encoding. The sha algo is
in the RSASSA-PSS-params, so we need to parse the sha parameter, and
could skip other params.
Also add two oids used by rsa-pss.
Signed-off-by: Hongbo Li
---
crypto/asymmetric_keys/Makefile| 7 ++-
crypto
From: Hongbo Li
This series of patches add support for x509 cert signed by RSA
with PSS encoding method which is described in RFC8017 [1].
According to RFC8017, there're two encoding methods for signing and
verification. One is PKCS1-v1_5 which is already supported by linux,
the other one
Hello Varad,
I also made an implementation of rsa pss: "[PATCH v3 0/4] crypto: add
rsa pss support for x509".
I notice your patches and did some review, find the following
differences between our patches:
1. You rework the rsa pad framework. This is reasonable.
2. You did some changes on the
This patch adds support for ima verification for rsa with
pss encoding.
And a patch for ima-evm-utils will be sent later.
Signed-off-by: Hongbo Li
---
security/integrity/digsig_asymmetric.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/security
This patch adds the test vector for rsa with pss encoding.
Signed-off-by: Hongbo Li
---
crypto/testmgr.c | 7 +
crypto/testmgr.h | 90
2 files changed, 97 insertions(+)
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 10c5b3b
This patch add the support of rsa-pss encoding which is described
rfc8017.
Similar to rsa-pkcs1, we create a pss template.
Signed-off-by: Hongbo Li
---
crypto/Makefile | 7 +-
crypto/rsa-psspad.c | 398 ++
crypto/rsa.c
This patch make x509 support rsa-pss, because the sha algo is
in paramters, so we need to parse the sha parameter, and skip
other params.
Signed-off-by: Hongbo Li
---
crypto/asymmetric_keys/Makefile| 7 ++-
crypto/asymmetric_keys/public_key.c| 5 ++
crypto
From: Hongbo Li
This series of patches adds support for x509 cert signed by RSA
with PSS encoding method. RSA PSS is described in rfc8017.
Patch1 make x509 support rsa pss encoding and parse hash parameter.
Patch2 add rsa pss template.
Patch3 add test vector for rsa pss.
Patch4 is the rsa
From: Hongbo Li
This series of patches adds support for x509 cert signed by RSA
with PSS encoding method. RSA PSS is described in rfc8017.
Patch1 make x509 support rsa pss encoding and parse hash parameter.
Patch2 add rsa pss template.
Patch3 add test vector for rsa pss.
Patch4 is the rsa
This patch adds support for ima verification for rsa with
pss encoding.
And a patch for ima-evm-utils will be sent later.
Signed-off-by: Hongbo Li
---
security/integrity/digsig_asymmetric.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/security
This patch adds the test vector for rsa with pss encoding.
Signed-off-by: Hongbo Li
---
crypto/testmgr.c | 7 +
crypto/testmgr.h | 90
2 files changed, 97 insertions(+)
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 10c5b3b
This patch add the support of rsa-pss encoding which is described
rfc8017.
Similar to rsa-pkcs1, we create a pss template.
Signed-off-by: Hongbo Li
---
crypto/Makefile | 7 ++-
crypto/rsa.c | 14 ++---
crypto/rsa_helper.c | 127
This patch make x509 support rsa-pss, because the sha algo is
in paramters, so we need to parse the sha parameter, and skip
other params.
Signed-off-by: Hongbo Li
---
crypto/asymmetric_keys/Makefile| 7 ++-
crypto/asymmetric_keys/public_key.c| 5 ++
crypto
From: Hongbo Li
This series of patches adds support for x509 cert signed by RSA
with PSS encoding method. RSA PSS is described in rfc8017.
Patch1 make x509 support rsa pss encoding and parse hash parameter.
Patch2 add rsa pss template.
Patch3 add test vector for rsa pss.
Patch4 is the rsa
From: Hongbo Li
This patch adds support for ima verification for rsa with
pss encoding.
And a patch for ima-evm-utils will be sent later.
Signed-off-by: Hongbo Li
---
security/integrity/digsig_asymmetric.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/security
From: Hongbo Li
This patch is borrowed from Stefan Berger's ecdsa patch series,
will be removed when ecdsa is merged into kernel.
Signed-off-by: Hongbo Li
---
include/keys/asymmetric-type.h | 6 ++
security/integrity/digsig_asymmetric.c | 29 ++---
2 files
From: Hongbo Li
This patch adds the test vector for rsa with pss encoding.
Signed-off-by: Hongbo Li
---
crypto/testmgr.c | 7 +
crypto/testmgr.h | 87
2 files changed, 94 insertions(+)
diff --git a/crypto/testmgr.c b/crypto
From: Hongbo Li
This patch add the support of rsa-pss encoding which is described
rfc8017.
Similar to rsa-pkcs1, we create a pss template.
Signed-off-by: Hongbo Li
---
crypto/Makefile | 7 ++-
crypto/rsa.c | 14 ++---
crypto/rsa_helper.c | 127
From: Hongbo Li
This patch make x509 support rsa-pss, because the sha algo is
in signature, so we need to parse the sha parameter, and skip
other params.
Signed-off-by: Hongbo Li
---
crypto/asymmetric_keys/Makefile | 7 ++-
crypto/asymmetric_keys/public_key.c | 5 +++
crypto
From: Hongbo Li
This series of patches adds support for x509 cert signed by RSA
with PSS encoding method. RSA PSS is described in rfc8017.
This series of patches adds support for x509 cert signed by RSA
with PSS encoding method. RSA PSS is described in rfc8017.
Patch1 make x509 support rsa pss
From: Hongbo Li <herberth...@tencent.com>
This patch solves a memory frag issue when allocating skb.
I found this issue in a udp scenario, here is my test model:
1. About five hundreds udp threads listen on server,
and five hundreds client threads send udp pkts to them.
Some thread
From: Hongbo Li
This patch solves a memory frag issue when allocating skb.
I found this issue in a udp scenario, here is my test model:
1. About five hundreds udp threads listen on server,
and five hundreds client threads send udp pkts to them.
Some threads send pkts in a faster speed than
39 matches
Mail list logo