masayuki2009 commented on pull request #5504:
URL: https://github.com/apache/incubator-nuttx/pull/5504#issuecomment-1043907310


   >And, mm_foreach only called from mm_checkcorruption and mm_mallinfo, which 
function do you called ?
   
   @GUIDINGLI 
   As I said above, my test executes `free` command via telnet.
   
   ```
   Connection closed by foreign host.
   Trying 192.168.10.22...
   Connected to 192.168.10.22.
   Escape character is '^]'.
   
   NuttShell (NSH) NuttX-10.2.0
   nsh> uname -a
   NuttX  10.2.0 48f54853b2 Feb 18 2022 09:50:19 arm spresense
   nsh> cat /proc/uptime
       750.77
   nsh> ps
     PID GROUP CPU PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK  
 USED  FILLED COMMAND
       0     0   0   0 FIFO     Kthread N-- Running            00000000 001000 
000488  48.8%  CPU0 IDLE
       1     1   1   0 FIFO     Kthread N-- Assigned           00000000 001000 
000228  22.8%  CPU1 IDLE
       2     2 --- 224 RR       Kthread --- Waiting  Semaphore 00000000 002016 
000644  31.9%  hpwork 0x2d05d398
       3     3 ---  60 RR       Kthread --- Waiting  Semaphore 00000000 002016 
000844  41.8%  lpwork 0x2d05d3a4
       5     5 --- 200 RR       Task    --- Waiting  MQ empty  00000000 001000 
000496  49.6%  cxd56_pm_task
       6     6 --- 100 RR       Task    --- Waiting  Semaphore 00000000 003048 
001604  52.6%  spresense_main
       7     7 ---  50 RR       Task    --- Waiting  Semaphore 00000000 002000 
001556  77.8%  gs2200m raspi3-g wifi-test-24g
      24    24 --- 100 RR       Task    --- Waiting  Signal    00000000 001976 
001764  89.2%! NTP daemon 0.pool.ntp.org;1.pool.ntp.org;
      25    25 --- 100 RR       Task    --- Waiting  Semaphore 00000000 002008 
000636  31.6%  Telnet daemon 0x2d06bca0
      26    26 --- 100 RR       Task    --- Waiting  Semaphore 00000000 002024 
000628  31.0%  webserver
      27    27 --- 100 RR       Task    --- Waiting  Semaphore 00000000 003048 
001092  35.8%  nxplayer
    2236    27 --- 246 RR       pthread --- Waiting  Semaphore 00000000 003072 
000860  27.9%  playthread 0x2d06fbf0
    2237    27 --- 252 RR       pthread --- Waiting  MQ empty  00000000 001024 
000500  48.8%  cxd56 0x2d069ae0
      30    30 --- 100 RR       Kthread --- Waiting  Semaphore 00000000 001000 
000556  55.6%  telnet_io
    3327  3327   1 100 RR       Task    --- Running            00000000 002024 
001468  72.5%  Telnet session
   nsh> free
                      total       used       free    largest  nused  nfree
           Umem:    1176144     209632     966512     956864    256     13
   nsh> ifconfig
   wlan0        Link encap:Ethernet HWaddr 3c:95:09:00:89:96 at UP
        inet addr:192.168.10.22 DRaddr:192.168.10.1 Mask:255.255.255.0
   
   nsh> exit
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to