Re: [RFC PATCH 0/4] kstrdup optimization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/29/2014 03:48 PM, Andrzej Hajda wrote:

(...)

> As I have tested it on mobile platform (exynos4210-trats) it saves above 2600
> string duplications. Below simple stats about the most frequent duplications:
> Count String
>   880 power
>   874 subsystem
>   130 device
>   126 parameters
>    61 iommu_group
>    40 driver
>    28 bdi
>    28 none
>    25 sclk_mpll
>    23 sclk_usbphy0
>    23 sclk_hdmi24m
>    23 xusbxti
>    22 sclk_vpll
>    22 sclk_epll
>    22 xxti
>    20 sclk_hdmiphy
>    11 aclk100

Minor update, printk buffer was too short during tests so I have not
catched everything. In fact the patchset saves 3260 duplications. Below
stats per kstrdup_const caller:
   2260 __kernfs_new_node+0x28/0xc4
    631 clk_register+0xc8/0x1b8
    318 clk_register+0x34/0x1b8
     51 kmem_cache_create+0x7c/0x1c8

Regards
Andrzej

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]